Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 985 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 985 Rev 1139
1
<?php
1
<?php
2
class Statuts extends Eflore {
2
class Statuts extends Eflore {
3
		
3
		
4
	public function getStatuts($projet, $nn) {
4
	public function getStatuts($projet, $nn) {
5
		$tpl = Config::get('statutsTpl');
5
		$tpl = Config::get('statutsTpl');
6
		$params = array('projet' => $projet,'id' => $nn);
6
		$params = array('projet' => $projet,'id' => $nn);
7
		$url = $this->formaterUrl($tpl, $params);
7
		$url = $this->formaterUrl($tpl, $params);
8
		return $this->chargerDonnees($url);
8
		return $this->chargerDonnees($url);
9
	}
9
	}
10
	
10
	
11
	public function getStatutsZoneGeo($projet, $nn) {
11
	public function getStatutsZoneGeo($projet, $nn) {
12
		$tpl = Config::get('statutsZoneGeoTpl');
12
		$tpl = Config::get('statutsZoneGeoTpl');
13
		$params = array('projet' => $projet,'id' => $nn);
13
		$params = array('projet' => $projet,'id' => $nn);
14
		$url = $this->formaterUrl($tpl, $params);
14
		$url = $this->formaterUrl($tpl, $params);
15
		return $this->chargerDonnees($url);
15
		return $this->chargerDonnees($url);
16
	}
16
	}
-
 
17
	
-
 
18
	public function getCategorieListeRouge($projet, $nn) {
-
 
19
		$tpl = Config::get('listeRougeTpl');
-
 
20
		$params = array('projet' => $projet,'id' => $nn);
-
 
21
		$url = $this->formaterUrl($tpl, $params);
-
 
22
		return $this->chargerDonnees($url);
-
 
23
	}
17
}
24
}
18
25