public function init() { parent::init(); // TODO: Change the autogenerated stub if (in_array($this->perms, ['read', 'write', 'delete'])) { $this->authUrl .= '?perms=' . $this->perms; } if (empty($this->consumerKey) or empty($this->consumerSecret)) { $this->consumerKey = Setting::getValue('flickrClientKey'); $this->consumerSecret = Setting::getValue('flickrClientSecret'); } }
/** * @inheritdoc */ public function init() { parent::init(); }