예제 #1
0
 public function __construct()
 {
     if (isset($GLOBALS['bxDolClasses'][get_class($this)])) {
         trigger_error('Multiple instances are not allowed for the class: ' . get_class($this), E_USER_ERROR);
     }
     parent::__construct();
     $this->sKey = getParam('sys_oauth_key');
     $this->sSecret = getParam('sys_oauth_secret');
     $this->sDataRetrieveMethod = OAUTH_HTTP_METHOD_POST;
 }
예제 #2
0
 public function __construct()
 {
     if (isset($GLOBALS['bxDolClasses'][get_class($this)])) {
         trigger_error('Multiple instances are not allowed for the class: ' . get_class($this), E_USER_ERROR);
     }
     parent::__construct();
     $this->sKey = getParam('sys_oauth_key');
     $this->sSecret = getParam('sys_oauth_secret');
     $this->sDataRetrieveMethod = 'POST';
     $this->sService = 'Dolphin';
     $this->oStorage = new Session();
 }