Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 377 → Rev 378

/trunk/metier/api_0.1/Noms.php
33,11 → 33,6
return $this->chargerDonnees($url);
}
public function getNomFormateHtml($nn) {
$url = $this->getUrlNomFormateHtml($nn);
$retour = $this->chargerDonnees($url);
return $retour['nom_sci'];
}
 
public function getRechercheEtendue($nom, $type_resultat = '') {
$methode = 'getUrlRecherche'.$type_resultat;
61,13 → 56,6
$url = $this->formaterUrl($tpl, $params);
return $url;
}
private function getUrlNomFormateHtml($nn) {
$tpl = Config::get('nomFormateHtmlTpl');
$params = array('id' => $nn);
$url = $this->formaterUrl($tpl, $params);
return $url;
}
 
// retourne les champs par defaut
private function getUrlRecherche($nom, $typeRech) {