Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 778 Rev 816
Line 10... Line 10...
10
	
10
	
11
	private $bdnt;
11
	private $bdnt;
12
	private $num_nom;
12
	private $num_nom;
13
	private $limite;
13
	private $limite;
-
 
14
	private $depart;
Line 14... Line 15...
14
	private $depart;
15
	private $catminat;
15
	
16
	
16
	
17
	
Line 28... Line 29...
28
	
29
	
29
	public function setNum_nom($nn){
30
	public function setNum_nom($nn){
30
		$this->num_nom = $nn;
31
		$this->num_nom = $nn;
Line -... Line 32...
-
 
32
	}
-
 
33
	
-
 
34
	public function setCatminat($catminat){
-
 
35
		$this->catminat = $catminat;
31
	}
36
	}
32
	
37
	
33
	public function getInformations() {	
38
	public function getInformations() {	
34
		$url = $this->getUrlInformation();
39
		$url = $this->getUrlInformation();
Line 46... Line 51...
46
	public function getInformationsDescription() {
51
	public function getInformationsDescription() {
47
		$url = $this->getUrlInformation();
52
		$url = $this->getUrlInformation();
48
		$url .= '?categorie=description';
53
		$url .= '?categorie=description';
49
		return $this->chargerDonnees($url);
54
		return $this->chargerDonnees($url);
50
	}
55
	}
-
 
56
		
-
 
57
	public function getInformationsRelationCatminat() {
-
 
58
		$url = $this->getUrlInformationsRelationCatminat();
-
 
59
		return $this->chargerDonnees($url);
-
 
60
	}
-
 
61
	
-
 
62
	public function getInformationsMasqueCatminat() {
-
 
63
		$url = $this->getUrlInformationsMasqueCatminat();
-
 
64
		return $this->chargerDonnees($url);
-
 
65
	}
-
 
66
	
-
 
67
	
Line 51... Line 68...
51
	
68
	
52
	public function getUrlInformation() {
69
	public function getUrlInformation() {
53
		$tpl = Config::get('informationTpl');
70
		$tpl = Config::get('informationTpl');
54
		$params = array( 'bdnt' => $this->bdnt, 'num_nom' => $this->num_nom );
71
		$params = array( 'bdnt' => $this->bdnt, 'num_nom' => $this->num_nom );
55
		$url = $this->formaterUrl($tpl, $params);
72
		$url = $this->formaterUrl($tpl, $params);
56
		return $url;
73
		return $url;
Line 57... Line -...
57
	}
-
 
58
	
-
 
59
	public function getInformationsRelationCatminat() {
-
 
60
		$url = $this->getUrlInformationsRelationCatminat();
-
 
61
		return $this->chargerDonnees($url);
-
 
62
	}
74
	}
63
	
75
	
64
	public function getUrlInformationsRelationCatminat() {
76
	public function getUrlInformationsRelationCatminat() {
65
		$tpl = Config::get('informationsRelationCatminat');
77
		$tpl = Config::get('informationsRelationCatminat');
66
		$params = array( 'bdnt' => $this->bdnt, 'num_nom' => $this->num_nom, 'limite' => $this->limite, 'depart' => $this->depart  );
78
		$params = array( 'bdnt' => $this->bdnt, 'num_nom' => $this->num_nom, 'limite' => $this->limite, 'depart' => $this->depart  );
67
		$url = $this->formaterUrl($tpl, $params);
79
		$url = $this->formaterUrl($tpl, $params);
Line -... Line 80...
-
 
80
		return $url;
-
 
81
	}
-
 
82
	
-
 
83
	public function getUrlInformationsMasqueCatminat() {
-
 
84
		$tpl = Config::get('informationsCatminat');
-
 
85
		$params = array( 'catminat' => $this->catminat, 'limite' => $this->limite, 'depart' => $this->depart  );
-
 
86
		$url = $this->formaterUrl($tpl, $params);
Line 68... Line 87...
68
		return $url;
87
		return $url;
69
	}
88
	}