/** * Сборка интерфейса для модуля * @param type $item * @return type */ protected function MakeInterface($item = array(), $__model = 0) { $model = new \app\base\ModelAdmin(); if (!empty($item["type_page"])) { if (!$model->PageContentForCheck($item["type_page"])) { throw new yii\base\Exception("Эта страница не соответствует данному модулю"); } } $this->tabs = $this->buildTabs($__model); $interface = $this->buildRows($item, $__model); return $interface; }