Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 367 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 367 Rev 422
Line 34... Line 34...
34
		$donnees['chorodep'] = $this->getChorodep();
34
		$donnees['chorodep'] = $this->getChorodep();
35
		$donnees['eflore'] = $this->getEflore();
35
		$donnees['eflore'] = $this->getEflore();
36
		return $donnees;
36
		return $donnees;
37
	}
37
	}
Line 38... Line 38...
38
 
38
 
39
	public function getChorodep() {
39
	private function getChorodep() {
40
		$this->cartes->setProjet('chorodep');
40
		$this->cartes->setProjet('chorodep');
41
		$this->cartes->setLargeur('630');
41
		$this->cartes->setLargeur('630');
42
		$id = 'nn:'.$this->nomCourant->getNns();
42
		$id = 'nn:'.$this->nomCourant->getNns();
43
		$this->cartes->setId($id);
43
		$this->cartes->setId($id);
Line 50... Line 50...
50
		$chorodep['meta']['citation'] = $citation;
50
		$chorodep['meta']['citation'] = $citation;
51
		$chorodep['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('chorodep');
51
		$chorodep['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('chorodep');
52
		return $chorodep;
52
		return $chorodep;
53
	}
53
	}
Line 54... Line 54...
54
	
54
	
55
	public function getEflore() {
55
	private function getEflore() {
56
		$this->cartes->setProjet('eflore');
56
		$this->cartes->setProjet('eflore');
57
		$this->cartes->setLargeur('max');
57
		$this->cartes->setLargeur('max');
58
		$this->cartes->setInfoNom($this->nomCourant->getNomRetenu());
58
		$this->cartes->setInfoNom($this->nomCourant->getNomRetenu());
59
		$eflore['mapUrl'] = $this->cartes->getUrlMap();
59
		$eflore['mapUrl'] = $this->cartes->getUrlMap();
60
		$eflore['legende'] = $this->cartes->getLegende();
60
		$eflore['legende'] = $this->cartes->getLegende();
61
		return $eflore;
61
		return $eflore;
Line 62... Line 62...
62
	}
62
	}
-
 
63
 
-
 
64
	public function getBloc() {
-
 
65
		$donnees['chorodep'] = $this->getChorodepMiniature();
-
 
66
		//$donnees['eflore'] = $this->getEfloreMiniature();
-
 
67
		return $donnees;
-
 
68
	}
63
 
69
	
64
	public function getBloc() {
70
	private function getChorodepMiniature() {
65
		$this->cartes->setProjet('chorodep');
71
		$this->cartes->setProjet('chorodep');
66
		$this->cartes->setLargeur('190x178');
72
		$this->cartes->setLargeur('190x178');
67
		$id = 'nn:'.$this->nomCourant->getNns();
73
		$id = 'nn:'.$this->nomCourant->getNns();
-
 
74
		$this->cartes->setId($id);
-
 
75
		return $this->cartes->getUrlPng();
-
 
76
	}
-
 
77
	
-
 
78
	private function getEfloreMiniature() {
-
 
79
		$this->cartes->setProjet('eflore');
68
		$this->cartes->setId($id);
80
		$this->cartes->setLargeur('min');
69
		$donnees['carteUrl'] = $this->cartes->getUrlPng();
81
		$this->cartes->setInfoNom($this->nomCourant->getNomRetenu());
70
		return $donnees;
82
		return $this->cartes->getUrlMap();
71
	}
83
	}
72
}
84
}