public function processDeleteAction() { $id = (int) $this->_getParam('id'); $holiday = new Holiday(); $holiday->holidayId = $id; $holiday->setPersistMode(WebVista_Model_ORM::DELETE); $holiday->persist(); $data = true; $json = Zend_Controller_Action_HelperBroker::getStaticHelper('json'); $json->suppressExit = true; $json->direct($data); }