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