Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 366 → Rev 367

/trunk/metier/api_0.1/Cartes.php
52,9 → 52,16
return $url;
}
 
public function getLegendeId() {
$tpl = Config::get('legendeIdCarteTpl');
$params = array('id' => $this->id);
$url = $this->formaterUrl($tpl, $params);
$donnees = $this->chargerDonnees($url);
return $donnees;
}
public function getLegende() {
$tpl = Config::get('legendeCarteTpl');
$params = array('id' => $this->id);
$url = $this->formaterUrl($tpl, $params);
$donnees = $this->chargerDonnees($url);
return $donnees;