public function processDeleteBaseAction()
 {
     $params = $this->_getParam('baseId');
     $baseIds = explode(',', $params);
     $reportBase = new ReportBase();
     foreach ($baseIds as $baseId) {
         $reportBase->reportBaseId = $baseId;
         $reportBase->setPersistMode(WebVista_Model_ORM::DELETE);
         $reportBase->persist();
     }
     $data = true;
     $json = Zend_Controller_Action_HelperBroker::getStaticHelper('json');
     $json->suppressExit = true;
     $json->direct($data);
 }
 public function processDeleteFilterAction()
 {
     $baseId = (int) $this->_getParam('baseId');
     $reportBase = new ReportBase();
     $reportBase->reportBaseId = $baseId;
     $reportBase->setPersistMode(WebVista_Model_ORM::DELETE);
     $reportBase->persist();
     $data = true;
     $json = Zend_Controller_Action_HelperBroker::getStaticHelper('json');
     $json->suppressExit = true;
     $json->direct($data);
 }