33,6 → 33,12 |
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; |
if (method_exists($this, $methode)) { |
56,6 → 62,13 |
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) { |
$tpl = Config::get('nomsRechercheTpl'); |