Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 768 Rev 985
Line 1... Line 1...
1
<?php
1
<?php
2
class Statuts extends Eflore {
2
class Statuts extends Eflore {
Line 3... Line 3...
3
		
3
		
4
	public function getStatuts($nn) {
4
	public function getStatuts($projet, $nn) {
5
		$tpl = Config::get('statutsTpl');
5
		$tpl = Config::get('statutsTpl');
6
		$params = array('projet' => 'sptb','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);
Line 9... Line 9...
9
	}
9
	}
10
	
10
	
11
	public function getStatutsZoneGeo($nn) {
11
	public function getStatutsZoneGeo($projet, $nn) {
12
		$tpl = Config::get('statutsZoneGeoTpl');
12
		$tpl = Config::get('statutsZoneGeoTpl');
13
		$params = array('projet' => 'sptb','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
	}