Esempio n. 1
0
 public function init()
 {
     parent::init();
     $this->activeRelationMap = [\app\records\PodrazdelKursa::className() => PodrazdelKursa::className(), \app\records\Zanyatie::className() => Zanyatie::className()];
 }
Esempio n. 2
0
 public function init()
 {
     parent::init();
     $this->modules = ['raspisanie' => RaspisanieModule::className(), 'potok' => PotokModule::className()];
     $this->activeRelationMap = [\app\records\FizLico::className() => FizLico::className(), \app\records\Kurs::className() => Kurs::className(), \app\records\RabotaFizLica::className() => RabotaFizLica::className()];
 }
Esempio n. 3
0
 /**
  * @inheritdoc
  */
 public function init()
 {
     parent::init();
     $this->addMenu('main-nav', [['label' => 'Wiki', 'icon' => 'fa fa-wikipedia-w', 'url' => '#', 'roles' => ['viewWiki'], 'items' => [['label' => 'Pages list', 'icon' => 'fa fa-file-text', 'roles' => ['viewWiki'], 'url' => ['/wiki/page/index']]]]]);
 }