| Line 114... |
Line 114... |
| 114 |
$num_taxon = (isset($num_taxon) ? $num_taxon : '*');
|
114 |
$num_taxon = (isset($num_taxon) ? $num_taxon : '*');
|
| Line 115... |
Line 115... |
| 115 |
|
115 |
|
| 116 |
// Récupération des données au format Json
|
116 |
// Récupération des données au format Json
|
| 117 |
$service = "CelWidgetMap/taxons/$utilisateur/$projet/$dept/$num_taxon";
|
117 |
$service = "CelWidgetMap/taxons/$utilisateur/$projet/$dept/$num_taxon";
|
| 118 |
$url = sprintf($this->config['chemins']['baseURLServicesCelTpl'], $service);
|
118 |
$url = sprintf($this->config['chemins']['baseURLServicesCelTpl'], $service);
|
| 119 |
$json = $this->getDao()->envoyerRequeteConsultation($url);
|
119 |
$json = $this->getDao()->consulter($url);
|
| Line 120... |
Line 120... |
| 120 |
$donnees = json_decode($json);
|
120 |
$donnees = json_decode($json);
|
| 121 |
|
121 |
|
| Line 211... |
Line 211... |
| 211 |
$num_taxon = (isset($num_taxon) ? $num_taxon : '*');
|
211 |
$num_taxon = (isset($num_taxon) ? $num_taxon : '*');
|
| Line 212... |
Line 212... |
| 212 |
|
212 |
|
| 213 |
// Récupération des données au format Json
|
213 |
// Récupération des données au format Json
|
| 214 |
$service = "CelWidgetMap/observations/$station/$utilisateur/$projet/$dept/$num_taxon";
|
214 |
$service = "CelWidgetMap/observations/$station/$utilisateur/$projet/$dept/$num_taxon";
|
| 215 |
$url = sprintf($this->config['chemins']['baseURLServicesCelTpl'], $service);
|
215 |
$url = sprintf($this->config['chemins']['baseURLServicesCelTpl'], $service);
|
| 216 |
$json = $this->getDao()->envoyerRequeteConsultation($url);
|
216 |
$json = $this->getDao()->consulter($url);
|
| Line 217... |
Line 217... |
| 217 |
$donnees = json_decode($json);
|
217 |
$donnees = json_decode($json);
|
| 218 |
|
218 |
|
| Line 266... |
Line 266... |
| 266 |
|
266 |
|
| 267 |
private function chargerImages($obs_ids) {
|
267 |
private function chargerImages($obs_ids) {
|
| 268 |
// Récupération des données au format Json
|
268 |
// Récupération des données au format Json
|
| 269 |
$service = 'CelImage/liste-ids?obsId='.implode(',', $obs_ids);
|
269 |
$service = 'CelImage/liste-ids?obsId='.implode(',', $obs_ids);
|
| 270 |
$url = sprintf($this->config['chemins']['baseURLServicesCelTpl'], $service);
|
270 |
$url = sprintf($this->config['chemins']['baseURLServicesCelTpl'], $service);
|
| 271 |
$json = $this->getDao()->envoyerRequeteConsultation($url);
|
271 |
$json = $this->getDao()->consulter($url);
|
| Line 272... |
Line 272... |
| 272 |
$donnees = json_decode($json);
|
272 |
$donnees = json_decode($json);
|
| 273 |
|
273 |
|