コード例 #1
0
 public function processSetFeesAction()
 {
     $params = $this->_getParam('feeSchedule');
     $fs = new FeeSchedule();
     $ret = '';
     if (isset($params['guid']) && isset($params['procedureCode'])) {
         $fs->guid = $params['guid'];
         $fs->procedureCode = $params['procedureCode'];
         $fs->populate();
         $fs->populateWithArray($params);
         $fs->persist();
         $fs->populate();
         $ret = $this->_generateFeeRowData($fs);
     }
     $json = Zend_Controller_Action_HelperBroker::getStaticHelper('json');
     $json->suppressExit = true;
     $json->direct($ret);
 }