protected function getParameters() { // If we are not in embedded mode, get variable from application if (!$this->embedded) { return $this->app->getParams('com_kunena'); } return $this->params; }
/** * @return JRegistry */ protected function getParameters() { if (!$this->params) { $this->params = $this->app->getParams('com_kunena'); } return $this->params; }