/** * Open action * * Open the specified menu * * @param int $id * @return void */ public function openAction() { $mdlMenu = new Model_Menu(); $menuId = $this->_request->getParam('id', 0); $label = 'Root'; if ($menuId > 0) { $label = $mdlMenu->getLabel($menuId); } //fetch the menu $this->view->menuId = $menuId; $this->view->menu = $mdlMenu->openMenu($menuId, true); $this->view->toolbarLinks = array(); $this->view->toolbarLinks['Add to my bookmarks'] = $this->baseUrl . '/admin/index/bookmark' . '/url/admin_navigation_open_id_' . $menuId . '/label/' . $this->view->getTranslation('Navigation') . ':' . $label; $this->view->breadcrumbs[$this->view->getTranslation('Open Menu') . ': ' . $this->view->getTranslation($label)] = $this->baseUrl . '/admin/navigation/open/id/' . $menuId; }