updateComplications() public method

Update the complications assigned to this element.
public updateComplications ( int[] $complication_ids )
$complication_ids int[]
Esempio n. 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());
 }