Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 1284 → Rev 1285

/branches/v5.7-duchartre/metier/api_0.1/Statuts.php
New file
0,0 → 1,24
<?php
class Statuts extends Eflore {
public function getStatuts($projet, $nn) {
$tpl = Config::get('statutsTpl');
$params = array('projet' => $projet,'id' => $nn);
$url = $this->formaterUrl($tpl, $params);
return $this->chargerDonnees($url);
}
public function getStatutsZoneGeo($projet, $nn) {
$tpl = Config::get('statutsZoneGeoTpl');
$params = array('projet' => $projet,'id' => $nn);
$url = $this->formaterUrl($tpl, $params);
return $this->chargerDonnees($url);
}
public function getCategorieListeRouge($projet, $nn) {
$tpl = Config::get('listeRougeTpl');
$params = array('projet' => $projet,'id' => $nn);
$url = $this->formaterUrl($tpl, $params);
return $this->chargerDonnees($url);
}
}