public function processSendPharmacyAction() { $pharmacyId = $this->_getParam('pharmacyId'); $recordChange = $this->_getParam('recordChange'); $pharmacy = new Pharmacy(); $pharmacy->pharmacyId = $pharmacyId; $pharmacy->populate(); $pharmacy->RecordChange = $recordChange; $ret = $pharmacy->sendPharmacy(); $json = Zend_Controller_Action_HelperBroker::getStaticHelper('json'); $json->suppressExit = true; $json->direct($ret); }