/** * dashboardAction * @author Thomas Schedler <*****@*****.**> * @version 1.0 */ public function dashboardAction() { $this->core->logger->debug('global->controllers->ElementController->dashboardAction()'); try { $this->getModelFolders(); if ($this->objRequest->isPost() && $this->objRequest->isXmlHttpRequest()) { $intRootLevelId = $this->objRequest->getParam('rootLevelId'); $intLimitNumber = 10; $objGlobals = $this->objModelFolders->loadLimitedRootLevelChilds($intRootLevelId, $intLimitNumber); $this->view->assign('objGlobals', $objGlobals); $this->view->assign('limit', $intLimitNumber); } } catch (Exception $exc) { $this->core->logger->err($exc); exit; } }