/trunk/services/modules/0.1/communes/ListeCommunes.php |
---|
68,7 → 68,8 |
* Chargement depuis le serveur de toutes les communes |
* */ |
private function chargerCommunes($requete) { |
return json_decode(file_get_contents("http://www.tela-botanica.org/eflore/cel2/jrest/LocationSearch/".$requete)); |
$communes = file_get_contents("http://www.tela-botanica.org/eflore/cel2/jrest/LocationSearch/".$requete); |
return (json_decode($communes)); |
} |
/** |