179,6 → 179,12 |
if($elements) { |
$this->is_notation_spe = TRUE; |
list(, $ref, $type, $num) = $elements; |
|
if($ref != $this->code_referentiel) { |
// TODO: ignorer la colonne référentiel, et utiliser le référentiel donné |
// mais il faut alors avertir le service (d'import/modif) d'utiliser le référentiel |
// passé au nom d'espèce |
} |
// Numero nomenclatural |
if ($type == 'nn') { |
$obj = $this->effectuerRequeteInfosComplementairesSurNumNom($num); |
188,7 → 194,7 |
//TODO: retourner moins de champs grâce au paramètre retour.champs |
$obj = @json_decode(file_get_contents($this->url_service_taxon."/nt:".$num)); |
} |
$obj->ref = $ref; |
if($obj) $obj->ref = $ref; |
return $obj; |
} |
|