Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 291 Rev 361
Line 22... Line 22...
22
	}
22
	}
Line 23... Line 23...
23
 
23
 
24
	public function setLargeur($largeur) {
24
	public function setLargeur($largeur) {
25
		$this->largeur = $largeur;
25
		$this->largeur = $largeur;
-
 
26
	}
-
 
27
	
-
 
28
	public function setInfoNom($nom) {
-
 
29
		$this->nom = $nom;
Line 26... Line 30...
26
	}
30
	} 
27
 
31
 
28
	public function getUrlDataSvg() {
32
	public function getUrlDataSvg() {
29
		$tpl = Config::get('carteTpl');
33
		$tpl = Config::get('carteTpl');
Line 36... Line 40...
36
		$tpl = Config::get('carteTpl');
40
		$tpl = Config::get('carteTpl');
37
		$params = array('id' => $this->id, 'largeur' => $this->largeur, 'mime-type' => 'image/png');
41
		$params = array('id' => $this->id, 'largeur' => $this->largeur, 'mime-type' => 'image/png');
38
		$url = $this->formaterUrl($tpl, $params);
42
		$url = $this->formaterUrl($tpl, $params);
39
		return $url;
43
		return $url;
40
	}
44
	}
-
 
45
	
-
 
46
	public function getUrlMap() {
-
 
47
		$tpl = Config::get('efloreCarteTpl');
-
 
48
		$params = array('num_nom' => $this->nom->get('id'), 'num_tax' => $this->nom->get('num_taxonomique') ,
-
 
49
				'nom_sci' => $this->nom->get('nom_sci'), 'auteur' => $this->nom->get('auteur') ,
-
 
50
				'largeur' => $this->largeur, 'mime_type' => 'text/htm');
-
 
51
		$url = $this->formaterUrl($tpl, $params);
-
 
52
		return $url;
-
 
53
	}
Line 41... Line 54...
41
 
54
 
42
	public function getLegende() {
55
	public function getLegende() {
43
		$tpl = Config::get('legendeCarteTpl');
56
		$tpl = Config::get('legendeCarteTpl');
44
		$params = array('id' => $this->id);
57
		$params = array('id' => $this->id);