229,7 → 229,7 |
|
if (($parametres['nom_sel_nn'] == '' || $parametres['nom_sel_nn'] == 0) && $parametres['nom_sel'] != '') { |
|
$chercheur_infos_complementaires = new RechercheInfosTaxon($this->config); |
$chercheur_infos_complementaires = new RechercheInfosTaxonBeta($this->config); |
// Utilisation d'un nom sans numéro nomenclatural, recherche d'une correspondance sur le nom |
$complement = $chercheur_infos_complementaires->rechercherInformationsComplementairesSurNom($parametres['nom_sel']); |
|
241,12 → 241,11 |
|
$parametres['nom_referentiel'] = 'bdtfx_v1'; |
} |
|
|
if ($parametres['nom_sel_nn'] != '') { |
// Utilisation d'un nom faisant parti du referentiel : recherche du nom valide correspondant |
$chercheur_infos_complementaires = new RechercheInfosTaxon($this->config); |
$chercheur_infos_complementaires = new RechercheInfosTaxonBeta($this->config); |
$complement = $chercheur_infos_complementaires->rechercherInformationsComplementairesSurNumNom($parametres['nom_sel_nn']); |
|
$parametres['nom_ret']=$complement['Nom_Retenu']; |
$parametres['nom_ret_nn']=$complement['Num_Nom_Retenu']; |
$parametres['nt']=$complement['Num_Taxon']; |
281,10 → 280,8 |
$parametres['ce_zone_geo'] = $this->convertirCodeInseeVersCodeZoneGeo($parametres['ce_zone_geo']); |
} |
} |
} |
} |
|
//echo '<pre>'.print_r($parametres,true).'</pre>';exit; |
|
// TODO : voir si l'on peut utiliser un des fonctions de la classe cel |
if (isset($parametres['date_observation']) && $parametres['date_observation']!="null") { |
list($jour,$mois,$annee)=explode("/",$parametres['date_observation']); |