Example #1
0
 function removeFromFolderAction()
 {
     $req = $this->getRequest();
     $catalogGuid = $req->getParam('guid');
     $folderGuid = $req->getParam('folderGuid');
     $hol = new Pandamp_Core_Hol_Catalog();
     $hol->removeFromFolder($catalogGuid, $folderGuid);
     exit;
 }
 function removeFromFolderAction()
 {
     $req = $this->getRequest();
     $catalogGuid = $req->getParam('guid');
     $folderGuid = $req->getParam('folderGuid');
     $hol = new Pandamp_Core_Hol_Catalog();
     try {
         $hol->removeFromFolder($catalogGuid, $folderGuid);
         $this->view->success = true;
         $this->view->message = "Data was deleted.";
     } catch (Exception $e) {
         $this->view->success = false;
         $this->view->message = $e->getMessage();
     }
 }