Exemplo n.º 1
0
 public function layout_aside()
 {
     $menu_items = Kohana::$config->load('admin/aside/pages')->as_array();
     return parent::layout_aside()->set('menu_items', $menu_items);
 }
Exemplo n.º 2
0
 protected function layout_aside()
 {
     $menu_items = array_merge_recursive(Kohana::$config->load('admin/aside/blog')->as_array(), $this->menu_left_ext);
     return parent::layout_aside()->set('menu_items', $menu_items)->set('replace', array('{GROUP_KEY}' => $this->group_key, '{BLOG_ID}' => $this->blog_id));
 }
Exemplo n.º 3
0
 protected function layout_aside()
 {
     $menu_items = array_merge_recursive(Kohana::$config->load('admin/aside/news')->as_array(), $this->menu_left_ext);
     return parent::layout_aside()->set('menu_items', $menu_items)->set('replace', array('{CATEGORY_ID}' => $this->category_id, '{PAGE_ID}' => $this->module_page_id));
 }
Exemplo n.º 4
0
 protected function layout_aside()
 {
     $menu_items = array_merge_recursive(Kohana::$config->load('admin/aside/sites')->as_array(), $this->menu_left_ext);
     return parent::layout_aside()->set('menu_items', $menu_items);
 }
Exemplo n.º 5
0
 protected function layout_aside()
 {
     $menu_items = array_merge_recursive(Kohana::$config->load('admin/aside/forms')->as_array(), $this->menu_left_ext);
     return parent::layout_aside()->set('menu_items', $menu_items)->set('replace', array('{OWNER}' => $this->owner));
 }