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