예제 #1
0
파일: Base.php 프로젝트: levmorozov/mii-app
 public function before()
 {
     parent::before();
     if (!$this->request->is_ajax()) {
         $this->main_menu();
     }
     return true;
 }
예제 #2
0
 public function init()
 {
     $this->layout = '/admin';
     $this->icon = 'fa-folder-open';
     $this->title = 'Projects';
     $this->subTitle = 'Projects';
     parent::init();
     // custom initialization code goes here
 }
예제 #3
0
 public function init()
 {
     $this->layout = '/admin';
     $this->icon = 'fa-folder-open';
     $this->title = Yii::t('app', 'Items');
     $this->subTitle = Yii::t('app', 'Items');
     parent::init();
     // custom initialization code goes here
 }
예제 #4
0
 public function init()
 {
     $this->layout = '/admin';
     parent::init();
     // custom initialization code goes here
 }