/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); |
} |
} |