예제 #1
0
 public function init()
 {
     parent::init();
     $this->model = new Issues(['scenario' => 'default']);
     $this->enableComments = \Yii::$app->request->get(Issues::COMMENT_PARAM) == true ? true : false;
 }
예제 #2
0
 public function init()
 {
     $this->logCollection = 'nitm-log';
     $this->model = new Alerts(['scenario' => 'default']);
     parent::init();
 }
예제 #3
0
 public function init()
 {
     $this->model = new Token(['scenario' => 'default']);
     parent::init();
 }
예제 #4
0
 public function init()
 {
     $this->addJs('@nitm/widgets/assets/js/requests', true);
     parent::init();
     $this->model = new Request(['scenario' => 'default']);
 }