Subversion Repositories eFlore/Applications.coel

Rev

Rev 1704 | Rev 1788 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1704 Rev 1717
Line 1... Line 1...
1
<?php
1
<?php
Line 2... Line 2...
2
 
2
 
Line 3... Line 3...
3
class CartoDepartement extends WidgetCommun {
3
class Carto extends WidgetCommun {
4
	
4
	
Line 5... Line 5...
5
	const SERVICE_CARTO_NOM           = 'cartoDepartement';
5
	const SERVICE_CARTO_NOM           = 'carto';
6
	const SERVICE_CARTO_ACTION_DEFAUT = 'cartoDepartement';
6
	const SERVICE_CARTO_ACTION_DEFAUT = 'carto';
Line 43... Line 43...
43
	}
43
	}
Line 44... Line 44...
44
	
44
	
45
	/**
45
	/**
46
	 * Carte par défaut
46
	 * Carte par défaut
47
	 */
47
	 */
48
	public function executerCartoDepartement() {
48
	public function executerCarto() {
Line 49... Line 49...
49
		$widget = null;
49
		$widget = null;
50
		
50
		
51
		// Création des infos du widget
51
		// Création des infos du widget
52
		$widget['donnees']['url_base'] = sprintf($this->config['chemins']['baseURLAbsoluDyn'], '');
52
		$widget['donnees']['url_base'] = sprintf($this->config['chemins']['baseURLAbsoluDyn'], '');
53
		$widget['donnees']['url_web_service'] = sprintf($this->config['chemins']['baseURLServicesTpl'], '');
53
		$widget['donnees']['url_web_service'] = sprintf($this->config['chemins']['baseURLServicesTpl'], '');
54
		$widget['donnees']['url_page_fiche']  = $this->config['carto']["urlPageFiche"];
54
		$widget['donnees']['url_page_fiche']  = $this->config['carto']["urlPageFiche"];
55
		$widget['donnees']['departement'] = $this->departement;
55
		$widget['donnees']['departement'] = $this->departement;
56
		$widget['donnees']['regions'] = $this->regions;
56
		$widget['donnees']['regions'] = $this->regions;
57
		$widget['donnees']['pays'] = $this->pays;
57
		$widget['donnees']['pays'] = $this->pays;
58
		$widget['squelette'] = 'carto_departement';
58
		$widget['squelette'] = 'carto';
Line 59... Line 59...
59
		return $widget;
59
		return $widget;
60
	}
60
	}