updateComplications() public method

Update the complications on the element.
public updateComplications ( $complication_ids )
$complication_ids
Ejemplo n.º 1
0
 /**
  * Update the complications and the operative devices.
  *
  * @param Element_OphTrOperationnote_Cataract $element
  * @param $data
  * @param $index
  */
 protected function saveComplexAttributes_Element_OphTrOperationnote_Cataract($element, $data, $index)
 {
     $element->updateComplications(isset($data['OphTrOperationnote_CataractComplications']) ? $data['OphTrOperationnote_CataractComplications'] : array());
     $element->updateOperativeDevices(isset($data['OphTrOperationnote_CataractOperativeDevices']) ? $data['OphTrOperationnote_CataractOperativeDevices'] : array());
 }