Beispiel #1
0
 /**
  * Load data from EAPM bean
  * @see ExternalAPIBase::loadEAPM()
  */
 public function loadEAPM($eapmBean)
 {
     if (!parent::loadEAPM($eapmBean)) {
         return false;
     }
     $this->oauth_token = $eapmBean->oauth_token;
     $this->oauth_secret = $eapmBean->oauth_secret;
     return true;
 }
 public function loadEAPM($eapmBean)
 {
     parent::loadEAPM($eapmBean);
     if (!empty($eapmBean->api_data)) {
         $api_data = json_decode(base64_decode($eapmBean->api_data), true);
         if (isset($api_data['fbSession'])) {
             $this->fbSession = $api_data['fbSession'];
         }
     }
 }
Beispiel #3
0
 public function loadEAPM($eapmBean)
 {
     if (empty($eapmBean->url)) {
         $eapmBean->url = $this->getConnectorParam('url');
     }
     if (!empty($eapmBean->url)) {
         $eapmBean->url = $this->fixUrl($eapmBean->url);
     }
     $this->account_url = $eapmBean->url . $this->urlExtension;
     parent::loadEAPM($eapmBean);
 }