public function init() { if (!Yii::getAlias('@server', true)) { throw new NotFoundHttpException('Server module is missing'); } parent::init(); }
protected function getFormOptions() { return array_merge(['class' => DomainTariffForm::class, 'zones' => $this->getZones()], parent::getFormOptions()); }