Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 767 → Rev 768

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