type != null) { $xml .= "\t" . '' . "\n"; if ($this->rue1 != '') { $xml .= "\t\t" . ''.clean_invalid_char($this->rue1).'' . "\n"; } else { fianet_insert_log("fianet_adress_xml.php - get_xml()
\n rue1 is undefined"); return; } if ($this->rue2 != "") { $xml .= "\t\t" . ''.clean_invalid_char($this->rue2).'' . "\n"; } if ($this->cpostal != "") { $xml .= "\t\t" . ''.clean_invalid_char($this->cpostal).'' . "\n"; } else { fianet_insert_log("fianet_adress_xml.php - get_xml()
\n cpostal is undefined"); return; } if ($this->ville != "") { $xml .= "\t\t" . ''.clean_invalid_char($this->ville).'' . "\n"; } else { fianet_insert_log("fianet_adress_xml.php - get_xml()
\n ville is undefined"); return; } if ($this->pays != "") { $xml .= "\t\t" . ''.clean_invalid_char($this->pays).'' . "\n"; } else { fianet_insert_log("fianet_adress_xml.php - get_xml()
\n pays is undefined"); return; } if ($this->appartement != null) { if (var_is_object_of_class($this->appartement, 'fianet_appartment_xml')) { $xml .= $this->appartement->get_xml(); } else { fianet_insert_log("fianet_adress_xml.php - get_xml()
\nAppartement is not an object of type fianet_appartment_xml"); } } $xml .= "\t" . '
' . "\n"; } return ($xml); } }