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