Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 985 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
768 aurelien 1
<?php
2
class Statuts extends Eflore {
3
 
985 delphine 4
	public function getStatuts($projet, $nn) {
768 aurelien 5
		$tpl = Config::get('statutsTpl');
985 delphine 6
		$params = array('projet' => $projet,'id' => $nn);
768 aurelien 7
		$url = $this->formaterUrl($tpl, $params);
8
		return $this->chargerDonnees($url);
9
	}
10
 
985 delphine 11
	public function getStatutsZoneGeo($projet, $nn) {
768 aurelien 12
		$tpl = Config::get('statutsZoneGeoTpl');
985 delphine 13
		$params = array('projet' => $projet,'id' => $nn);
768 aurelien 14
		$url = $this->formaterUrl($tpl, $params);
15
		return $this->chargerDonnees($url);
16
	}
1139 aurelien 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
	}
768 aurelien 24
}