コード例 #1
0
 /**
  * changeparentrootfolderAction
  * @author Thomas Schedler <*****@*****.**>
  * @version 1.0
  */
 public function changeparentrootfolderAction()
 {
     $this->core->logger->debug('core->controllers->FolderController->changeparentrootfolderAction()');
     $intFolderId = $this->objRequest->getParam('folderId');
     $intRootFolderId = $this->objRequest->getParam('rootFolderId');
     if ($intFolderId > 0 && $intRootFolderId > 0) {
         $this->getModelFolders();
         $this->objModelFolders->moveFolderToLastChildOfRootFolder($intFolderId, $intRootFolderId);
     }
     $this->_helper->viewRenderer->setNoRender();
 }