Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 195 → Rev 196

/trunk/metier/api_0.1/NomsVernaculaires.php
33,7 → 33,7
private function getUrlRecherche($nom, $typeRech) {
$tpl = Config::get('nomsVernaRechercheTpl');
$params = array('valeur' => $nom, 'type' => $typeRech);
$params = array('valeur' => $nom, 'type' => $typeRech, 'langue' => 'fra');
Debug::printr($params,'Params');
$url = $this->formaterUrl($tpl, $params);
Debug::printr($tpl,'TPL');
42,8 → 42,8
}
private function getUrlRechercheDetermination($nom, $typeRech) {
$tpl = Config::get('nomsVernaRechercheTpl');
$params = array('valeur' => $nom, 'type' => $typeRech);
$tpl = Config::get('nomsVernaRechercheDeterminationTpl');
$params = array('valeur' => $nom, 'type' => $typeRech, 'langue' => 'fra');
Debug::printr($params,'Params');
$url = $this->formaterUrl($tpl, $params);
Debug::printr($tpl,'TPL');