public function processDeleteAction() { $param = $this->_getParam('id'); $ids = explode(',', $param); foreach ($ids as $guid) { if (!strlen($guid) > 0) { continue; } $fs = new FeeSchedule(); $fs->guid = $guid; $fs->setPersistMode(WebVista_Model_ORM::DELETE); $fs->persist(false); } $data = array(); $data['msg'] = __('Record deleted successfully'); $json = Zend_Controller_Action_HelperBroker::getStaticHelper('json'); $json->suppressExit = true; $json->direct($data); }