/** * catnavigationAction * @author Cornelius Hansjakob <*****@*****.**> * @version 1.0 */ public function catnavigationAction() { $this->core->logger->debug('properties->controllers->NavigationController->rootnavigationAction()'); $objRequest = $this->getRequest(); $intCurrLevel = $objRequest->getParam('currLevel'); $intCategoryTypeId = $objRequest->getParam('categoryTypeId'); if ($intCurrLevel == 1) { $intItemId = 0; } else { $intItemId = $objRequest->getParam("itemId"); } /** * get navigation */ $this->getModelCategories(); $objCatNavElements = $this->objModelCategories->loadCatNavigation($intItemId, $intCategoryTypeId); $this->view->assign('catelements', $objCatNavElements); $this->view->assign('currLevel', $intCurrLevel); $this->view->assign('categoryTypeId', $intCategoryTypeId); }