public function processDeleteExamAction() { $code = $this->_getParam('code'); $patientExam = new PatientExam(); $patientExam->code = $code; $patientExam->setPersistMode(WebVista_Model_ORM::DELETE); $patientExam->persist(); $data = true; $json = Zend_Controller_Action_HelperBroker::getStaticHelper('json'); $json->suppressExit = true; $json->direct($data); }