public function init() { parent::init(); $this->idLanguage = Manager::getConf('options.language'); $msgDir = Manager::getAppPath('conf/report'); Manager::$msg->file = 'messages.' . $this->idLanguage . '.php'; Manager::$msg->addMessages($msgDir); }
public function init() { parent::init(); $userPhone = yii::app()->user->getState('msisdn'); if (!$userPhone) { $this->redirect('/event/register'); } }
public function init() { parent::init(); $this->idLanguage = Manager::getSession()->idLanguage; }
public function init() { parent::init(); $this->idLanguage = Manager::getConf('fnbr20.lang'); }
public function init() { parent::init(); }