Subversion Repositories eFlore/Applications.coel-consultation

Compare Revisions

Ignore whitespace Rev 168 → Rev 169

/trunk/bibliotheque/dao/StructureDao.php
38,11 → 38,19
*/
public function getStructureParZoneGeo($type_recherche) {
$url = $this->url_jrest.self::SERVICE_STRUCTURE."/ParZoneGeo/$type_recherche";
$url = $this->limiterParProjets($url);
$json = $this->envoyerRequeteConsultation($url);
$donnees = json_decode($json, true);
return $donnees;
}
private function limiterParProjets($url) {
if (Config::get('projets') != '') {
$url .= '/'.Config::get('projets');
}
return $url;
}
/**
* Retourne l'ensemble des informations du personnel d'une structure.
*