Ejemplo n.º 1
0
 public function init($args)
 {
     parent::init($args);
     if (isset($args['ACCOUNT'])) {
         $this->setUser($args['ACCOUNT']);
     }
 }
 public function init($args)
 {
     parent::init($args);
     if (!$this->authority) {
         if ($authority = AuthenticationAuthority::getAuthenticationAuthority('GoogleAppsAuthentication')) {
             $this->setAuthority($authority);
         }
     }
 }
 public function init($args)
 {
     parent::init($args);
     if (isset($args['API_VERSION'])) {
         $this->setAPIVersion($args['API_VERSION']);
     }
     if (isset($args['ACCOUNT'])) {
         $this->setUser($args['ACCOUNT']);
     }
     if ($this->apiVersion == 1.1) {
         $this->requiresToken = true;
         if (!$this->token) {
             throw new KurogoConfigurationException("Twitter API 1.1 requires OAuth token parameter");
         }
         if (!$this->tokenSecret) {
             throw new KurogoConfigurationException("Twitter API 1.1 requires OAuth tokenSecret parameter");
         }
     }
 }
 protected function init($args)
 {
     parent::init($args);
     $this->addStandardFilters();
 }