• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

PHP: I threw an error I don't understand.

#1
Alright, I have been working on an add-on, and I do the following:

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?