Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 1048 Rev 1112
Line 57... Line 57...
57
	}
57
	}
Line 58... Line 58...
58
	
58
	
59
	public function getUrlMapSvg() {
59
	public function getUrlMapSvg() {
60
		$tpl = Config::get('carteMoissonnageTpl');
60
		$tpl = Config::get('carteMoissonnageTpl');
61
		$params = array('num_taxon' => $this->nom, 'referentiel' => $this->referentiel,
61
		$params = array('num_taxon' => $this->nom, 'referentiel' => $this->referentiel,
62
			'largeur' => $this->largeur, 'mime_type' => 'text/html');
62
			'largeur' => $this->largeur, 'mime_type' => 'text/html', 'methode' => 'afficher');
63
		$url = $this->formaterUrl($tpl, $params);
63
		$url = $this->formaterUrl($tpl, $params);
64
		return $url;
64
		return $url;
Line 65... Line 65...
65
	}
65
	}
66
	
66
	
67
	public function getUrlMapPng() {
67
	public function getUrlMapPng() {
68
		$tpl = Config::get('carteMoissonnageTpl');
68
		$tpl = Config::get('carteMoissonnageTpl');
-
 
69
		$params = array('num_taxon' => $this->nom, 'referentiel' => $this->referentiel,
-
 
70
				'largeur' => $this->largeur, 'mime_type' => 'image/png', 'methode' => 'afficher');
-
 
71
		$url = $this->formaterUrl($tpl, $params);
-
 
72
		return $url;
-
 
73
	}
-
 
74
	
-
 
75
	public function getUrlTelechargementMapPng() {
-
 
76
		$tpl = Config::get('carteMoissonnageTpl');
-
 
77
		$params = array('num_taxon' => $this->nom, 'referentiel' => $this->referentiel,
-
 
78
					'largeur' => $this->largeur, 'mime_type' => 'image/png', 'methode' => 'telecharger');
-
 
79
		$url = $this->formaterUrl($tpl, $params);
-
 
80
		return $url;
-
 
81
	}
-
 
82
	
-
 
83
	public function getUrlTelechargementMapHtml() {
-
 
84
		$tpl = Config::get('carteMoissonnageTpl');
69
		$params = array('num_taxon' => $this->nom, 'referentiel' => $this->referentiel,
85
		$params = array('num_taxon' => $this->nom, 'referentiel' => $this->referentiel,
70
				'largeur' => $this->largeur, 'mime_type' => 'image/png');
86
			'largeur' => $this->largeur, 'mime_type' => 'text/html', 'methode' => 'telecharger');
71
		$url = $this->formaterUrl($tpl, $params);
87
		$url = $this->formaterUrl($tpl, $params);
Line 72... Line 88...
72
		return $url;
88
		return $url;