Пример #1
0
 public function action_index()
 {
     $this->actions = array(array('btn' => 'warning', 'link' => 'manager/page/preview/:id', 'icon' => 'object-align-top', 'text' => 'Layout'));
     $this->ignore_fields = array('actived', 'introduction', 'slug', 'title', 'data', 'meta_description');
     if ($this->parent_id and $this->parent === 'page') {
         $this->ignore_fields[] = 'page';
     }
     $this->ignore_actions[] = 'links';
     $this->model->where('actived', '=', TRUE);
     $this->model->order_by('id_page');
     parent::action_index();
 }
Пример #2
0
 public function action_index()
 {
     $this->ignore_actions[] = 'containers';
     parent::action_index();
 }
Пример #3
0
 public function action_index()
 {
     $this->ignore_fields[] = 'password';
     return parent::action_index();
 }