/** * updatepositionAction * @author Cornelius Hansjakob <*****@*****.**> * @version 1.0 */ public function updatepositionAction() { $this->core->logger->debug('cms->controllers->NavigationController->updatepositionAction()'); $this->getModelFolders(); if ($this->getRequest()->isPost() && $this->getRequest()->isXmlHttpRequest()) { $objRequest = $this->getRequest(); $intElementId = $objRequest->getParam("id"); $strElementType = $objRequest->getParam("elementType"); $intSortPosition = $objRequest->getParam("sortPosition"); $this->setPortalId($objRequest->getParam("rootLevelId")); $this->setParentId($objRequest->getParam("parentId")); $this->objModelFolders->updateSortPosition($intElementId, $strElementType, $intSortPosition, $this->intPortalId, $this->intParentId); } /** * no rendering */ $this->_helper->viewRenderer->setNoRender(); }