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; }
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(); }