updateAnaestheticAgents() public method

Update the Anaesthetic Agents associated with the element.
public updateAnaestheticAgents ( $agent_ids )
$agent_ids
示例#1
0
 /**
  * Update the anaesthetic agents and complications.
  *
  * @param Element_OphTrOperationnote_Anaesthetic $element
  * @param $data
  * @param $index
  */
 protected function saveComplexAttributes_Element_OphTrOperationnote_Anaesthetic($element, $data, $index)
 {
     $element->updateAnaestheticAgents(isset($data['AnaestheticAgent']) ? $data['AnaestheticAgent'] : array());
     $element->updateComplications(isset($data['OphTrOperationnote_AnaestheticComplications']) ? $data['OphTrOperationnote_AnaestheticComplications'] : array());
 }