Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 369 → Rev 370

/trunk/metier/api_0.1/Noms.php
32,6 → 32,12
$url = $this->getUrlNom($nn);
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;
55,6 → 61,13
$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) {