public function ajaxAddStent($request, $response) { /*{{{*/ $response->num = $request->num; $response->supportBrands = DAL::get()->find_all_by_keyname('nodeproperty', NodeObj::NODE_DEFINE_SUPPORTBRAND); $operationNodeDefine = new operationNodeDefine(); $response->stentKeyValueDef = $operationNodeDefine->returnStentKeyValueDef(); }
public function addOrModifyOperation($request, $response) { /*{{{*/ $response->customerId = $request->customerid; $response->theFollowupCustomer = DAL::get()->find("FollowupCustomer", $request->customerid); $operationId = $request->operationid; if (false == empty($operationId)) { $response->operation = NodeClient::getInstance()->showOperationInfo($operationId); } $response->supportBrands = DAL::get()->find_all_by_keyname('nodeproperty', NodeObj::NODE_DEFINE_SUPPORTBRAND); $operationNodeDefine = new operationNodeDefine(); $response->angiographyKeyValueDef = $operationNodeDefine->returnAngiographyKeyValueDef(); $response->stentKeyValueDef = $operationNodeDefine->returnStentKeyValueDef(); $response->operationId = $operationId; }