public function __construct($username, $config, Zend_Oauth_Token_Access $token) { $this->_authInitialized = true; $this->_client = $token->getHttpClient($config); self::setHttpClient($this->_client); parent::__construct($username, null); }
/** * Initializes the service and adds the list to the method types * of the parent service class. * * @param string $username The Twitter account name. * @param string $password The Twitter account password. * @see Zend_Service_Twitter::_methodTypes */ public function __construct($username = null, $password = null) { parent::__construct($username, $password); $this->_methodTypes[] = 'list'; }