Exemplo n.º 1
0
 public function init()
 {
     parent::init();
 }
Exemplo n.º 2
0
 public function init()
 {
     parent::init();
     \Yii::$app->getUser()->loginUrl = ["/user/security/login"];
 }
Exemplo n.º 3
0
 public function init()
 {
     parent::init();
     // custom initialization code goes here
 }
Exemplo n.º 4
0
 /**
  * @inheritdoc
  */
 public function init()
 {
     parent::init();
     // Translate
     $this->registerTranslations();
 }