Shaun Mason
Active member
Alright, I have been working on an add-on, and I do the following:
However, when I activate the listener that calls this:
I get a PHP error saying it cannot find the (is it pseudo?) class XFCP_TWS_XboxLive_Model_User
Any insight?
PHP:
class TSW_XboxLive_Model_User extends XFCP_TWS_XboxLive_Model_User
{
}
However, when I activate the listener that calls this:
PHP:
class TSW_XboxLive_EventListener_LoadClassModel
{
public static function listen($class, array &$extend)
{
if ($class == 'XenForo_Model_User'){
$extend[] = 'TSW_XboxLive_Model_User';
}
}
I get a PHP error saying it cannot find the (is it pseudo?) class XFCP_TWS_XboxLive_Model_User
Any insight?