Exemplo n.º 1
0
 /**
  * Catch language
  */
 public function init()
 {
     MultiLanguageHelper::catchLanguage();
     parent::init();
 }
Exemplo n.º 2
0
 public function init()
 {
     MultiLanguageHelper::catchLanguage();
     parent::init();
     $this->layout = Yii::$app->getModule('admin')->controllerLayout;
 }