/** * @see parent::loadComplete() */ function loadComplete() { parent::loadComplete(); $this->loadRefsTraitements(); $this->loadRefsAntecedents(); $prescription = $this->loadRefPrescription(); if ($prescription && is_array($prescription->_ref_prescription_lines)) { foreach ($prescription->_ref_prescription_lines as $_line) { $_line->loadRefsPrises(); } } }