/**
  * rootnavigationAction
  * @author Cornelius Hansjakob <*****@*****.**>
  * @version 1.0
  */
 public function rootnavigationAction()
 {
     $this->core->logger->debug('cms->controllers->NavigationController->rootnavigationAction()');
     $objRequest = $this->getRequest();
     $intCurrLevel = $objRequest->getParam("currLevel");
     $this->setPortalId($objRequest->getParam("rootLevelId"));
     /**
      * get navigation
      */
     $this->getModelFolders();
     $objRootelements = $this->objModelFolders->loadRootNavigation($this->intPortalId);
     $this->view->assign('rootelements', $objRootelements);
     $this->view->assign('currLevel', $intCurrLevel);
 }
 /**
  * rootnavigationAction
  * @author Cornelius Hansjakob <*****@*****.**>
  * @version 1.0
  */
 public function rootnavigationAction()
 {
     $this->core->logger->debug('cms->controllers->NavigationController->rootnavigationAction()');
     $objRequest = $this->getRequest();
     $intCurrLevel = $objRequest->getParam("currLevel");
     $this->setPortalId($objRequest->getParam("rootLevelId"));
     if (Security::get()->isAllowed(Security::RESOURCE_ROOT_LEVEL_PREFIX . $this->intPortalId, Security::PRIVILEGE_VIEW)) {
         /**
          * get navigation
          */
         $this->getModelFolders();
         $objRootelements = $this->objModelFolders->loadRootNavigation($this->intPortalId);
         $this->view->assign('rootelements', $objRootelements);
         $this->view->assign('currLevel', $intCurrLevel);
         $this->view->assign('return', true);
     } else {
         $this->view->assign('return', false);
     }
 }