Пример #1
0
 public function init()
 {
     parent::init();
     $this->layout = 'layoutstyle';
 }
Пример #2
0
 public function init()
 {
     parent::init();
     $this->auth = \Yii::$app->authManager;
 }