Ejemplo n.º 1
0
 /**
  * geteditformAction
  * @author Cornelius Hansjakob <*****@*****.**>
  * @version 1.0
  */
 public function geteditformAction()
 {
     $this->core->logger->debug('media->controllers->FileController->geteditformAction()');
     if ($this->getRequest()->isPost() && $this->getRequest()->isXmlHttpRequest()) {
         $this->getModelFiles();
         $objRequest = $this->getRequest();
         $strFileIds = $objRequest->getParam('fileIds');
         $objFiles = $this->objModelFiles->loadFilesById($strFileIds);
         $this->view->assign('strEditFormAction', '/zoolu/media/file/edit');
         $this->view->assign('strFileIds', $strFileIds);
         $this->view->assign('objFiles', $objFiles);
     }
     $this->renderScript('file/form.phtml');
 }