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. |
* |