Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 575 Rev 602
Line 24... Line 24...
24
	public function getInformations() {	
24
	public function getInformations() {	
25
		$url = $this->getUrlInformation();
25
		$url = $this->getUrlInformation();
26
		return $this->chargerDonnees($url);
26
		return $this->chargerDonnees($url);
27
	}
27
	}
Line -... Line 28...
-
 
28
	
-
 
29
	public function getInformationsEcologie() {
-
 
30
		$url = $this->getUrlInformation();
-
 
31
		$url .= '?champs=ecologie';
-
 
32
		return $this->chargerDonnees($url);
-
 
33
	}
-
 
34
	
-
 
35
	public function getInformationsDescription() {
-
 
36
		$url = $this->getUrlInformation();
-
 
37
		$url .= '?champs=description';
-
 
38
		return $this->chargerDonnees($url);
-
 
39
	}
28
	
40
	
29
	public function getUrlInformation() {
41
	public function getUrlInformation() {
30
		$tpl = Config::get('informationTpl');
42
		$tpl = Config::get('informationTpl');
31
		$params = array( 'bdnt' => $this->bdnt, 'num_nom' => $this->num_nom );
43
		$params = array( 'bdnt' => $this->bdnt, 'num_nom' => $this->num_nom );
32
		$url = $this->formaterUrl($tpl, $params);
44
		$url = $this->formaterUrl($tpl, $params);
33
		return $url;
45
		return $url;
-
 
46
	}
-
 
47
	
Line 34... Line 48...
34
	}
48
	
35
 
49