Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 441 Rev 1026
Line 25... Line 25...
25
		$this->largeur = $largeur;
25
		$this->largeur = $largeur;
26
	}
26
	}
Line 27... Line 27...
27
	
27
	
28
	public function setInfoNom($nom) {
28
	public function setInfoNom($nom) {
29
		$this->nom = $nom;
29
		$this->nom = $nom;
-
 
30
	}
-
 
31
	
-
 
32
	public function setInfoReferentiel($referentiel) {
-
 
33
		$this->referentiel = $referentiel;
Line 30... Line 34...
30
	} 
34
	}
31
 
35
 
32
	public function getUrlDataSvg() {
36
	public function getUrlDataSvg() {
33
		$tpl = Config::get('carteTpl');
37
		$tpl = Config::get('carteTpl');
Line 50... Line 54...
50
				'largeur' => $this->largeur, 'mime_type' => 'text/html');
54
				'largeur' => $this->largeur, 'mime_type' => 'text/html');
51
		$url = $this->formaterUrl($tpl, $params);
55
		$url = $this->formaterUrl($tpl, $params);
52
		return $url;
56
		return $url;
53
	}
57
	}
Line -... Line 58...
-
 
58
	
-
 
59
	public function getUrlMapSvg() {
-
 
60
		$tpl = Config::get('carteMoissonnageTpl');
-
 
61
		$params = array('num_taxon' => $this->nom, 'referentiel' => $this->referentiel,
-
 
62
			'largeur' => $this->largeur, 'mime_type' => 'text/html');
-
 
63
		$url = $this->formaterUrl($tpl, $params);
-
 
64
		return $url;
-
 
65
	}
-
 
66
	
-
 
67
	public function getUrlMapPng() {
-
 
68
		$tpl = Config::get('carteMoissonnageTpl');
-
 
69
		$params = array('num_taxon' => $this->nom, 'referentiel' => $this->referentiel,
-
 
70
				'largeur' => $this->largeur, 'mime_type' => 'image/png');
-
 
71
		$url = $this->formaterUrl($tpl, $params);
-
 
72
		return $url;
-
 
73
	}
54
	
74
	
55
	public function getUrlEflorePng() {
75
	public function getUrlEflorePng() {
56
		$tpl = Config::get('efloreCarteTpl');
76
		$tpl = Config::get('efloreCarteTpl');
57
		$params = array('num_nom' => $this->nom->get('id'), 'num_tax' => $this->nom->get('num_taxonomique') ,
77
		$params = array('num_nom' => $this->nom->get('id'), 'num_tax' => $this->nom->get('num_taxonomique') ,
58
					'nom_sci' => $this->nom->get('nom_sci'), 'auteur' => $this->nom->get('auteur') ,
78
					'nom_sci' => $this->nom->get('nom_sci'), 'auteur' => $this->nom->get('auteur') ,