32,5 → 32,24 |
$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; |
} |
} |
?> |