/** * 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()); }