Subversion Repositories eFlore/Projets.eflore-projets

Compare Revisions

Ignore whitespace Rev 92 → Rev 93

/trunk/services/modules/0.1/bdtfx/Noms.php
508,7 → 508,7
$resultat = $this->trierRechercheFloue($this->parametres[$masque[0]], $resultat, $masque[1]);
}
if (isset($this->masque)) {
$this->table_retour['masque'] = implode('&', $this->masque);
$table_retour['masque'] = implode('&', $this->masque);
}
$this->afficherEnteteResultat('/'.$this->service); //communNomTaxons
$table_retour_json['entete'] = $this->table_retour;
521,10 → 521,16
foreach ($resultat as $tab) {
$this->table_retour = array();
$num = $tab['num_nom'];
$this->afficherNomHrefRetenu($tab, $num);
$reponse_id = $this->formaterId($tab);
$this->ajouterChampsPersonnalises($champs, $reponse_id);
$resultat_json[$num] = $this->table_retour;
$this->afficherNomHrefRetenu($tab, $num); // ajoute le nom_sci, href et si le nom est retenu dans $this->table_retour
$retour = $this->table_retour;
$this->table_retour = array();
if ($champs != null) {
$reponse_id = $this->formaterId($tab);
$this->table_retour = array();
$this->ajouterChampsPersonnalises($champs, $reponse_id);
$retour = array_merge($retour, $this->table_retour);
}
$resultat_json[$num] = $retour;
}
$table_retour_json['resultat'] = $resultat_json;
return $table_retour_json;