Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 53 → Rev 44

/trunk/metier/api_0.1/NomsVernaculaires.php
File deleted
\ No newline at end of file
/trunk/metier/api_0.1/Noms.php
32,24 → 32,5
$url = $this->formaterUrl($tpl, $params);
return $url;
}
public function getRechercheEtendue($nom) {
$url = $this->getUrlRecherche($nom, 'etendue');
return $this->chargerDonnees($url);
}
public function getRechercheFloue($nom) {
$url = $this->getUrlRecherche($nom, 'floue');
return $this->chargerDonnees($url);
}
private function getUrlRecherche($nom, $typeRech) {
$tpl = Config::get('nomsRechercheTpl');
$projet = Registre::get('parametres.referentiel');
Debug::printr($projet);
$params = array('projet' => $projet, 'valeur' => $nom, 'type' => $typeRech);
$url = $this->formaterUrl($tpl, $params);
return $url;
}
}
?>