Line 36... |
Line 36... |
36 |
|
36 |
|
37 |
public function extraireParametres() {
|
37 |
public function extraireParametres() {
|
38 |
extract($this->parametres);
|
38 |
extract($this->parametres);
|
39 |
$this->carte = (isset($carte) ? $carte : self::SERVICE_CARTO_ACTION_DEFAUT);
|
39 |
$this->carte = (isset($carte) ? $carte : self::SERVICE_CARTO_ACTION_DEFAUT);
|
- |
|
40 |
$this->departement = (isset($dept) ? $dept : '*');
|
40 |
$this->departement = (isset($dept) ? $dept : '*');
|
41 |
$this->regions = (isset($regions) ? $regions : '*');
|
41 |
$this->pays = (isset($pays) ? $pays : '*');
|
42 |
$this->pays = (isset($pays) ? $pays : '*');
|
Line 42... |
Line 43... |
42 |
}
|
43 |
}
|
43 |
|
44 |
|
Line 50... |
Line 51... |
50 |
// Création des infos du widget
|
51 |
// Création des infos du widget
|
51 |
$widget['donnees']['url_base'] = sprintf($this->config['chemins']['baseURLAbsoluDyn'], '');
|
52 |
$widget['donnees']['url_base'] = sprintf($this->config['chemins']['baseURLAbsoluDyn'], '');
|
52 |
$widget['donnees']['url_web_service'] = sprintf($this->config['chemins']['baseURLServicesTpl'], '');
|
53 |
$widget['donnees']['url_web_service'] = sprintf($this->config['chemins']['baseURLServicesTpl'], '');
|
53 |
$widget['donnees']['url_page_fiche'] = $this->config['carto']["urlPageFiche"];
|
54 |
$widget['donnees']['url_page_fiche'] = $this->config['carto']["urlPageFiche"];
|
54 |
$widget['donnees']['departement'] = $this->departement;
|
55 |
$widget['donnees']['departement'] = $this->departement;
|
- |
|
56 |
$widget['donnees']['regions'] = $this->regions;
|
55 |
$widget['donnees']['pays'] = $this->pays;
|
57 |
$widget['donnees']['pays'] = $this->pays;
|
56 |
$widget['squelette'] = 'carto_departement';
|
58 |
$widget['squelette'] = 'carto_departement';
|
57 |
return $widget;
|
59 |
return $widget;
|
58 |
}
|
60 |
}
|