Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 1233 → Rev 1234

/branches/v5.4-decaisne/metier/api_0.1/Cartes.php
96,6 → 96,21
$url = $this->formaterUrl($tpl, $params);
return $url;
}
public function getUrlFloreProbablePng() {
$tpl = Config::get('carteFloreProbableTpl');
$params = array('id' => $this->id,
'mime_type' => 'text/plain');
$url = $this->formaterUrl($tpl, $params);
$donnees = $this->chargerDonnees($url);
$url_carte = null;
// on demande l'url de la carte au web service
// car la carte peut ne pas exister
if(isset($donnees['binaire.href'])) {
$url_carte = $donnees['binaire.href'];
}
return $url_carte;
}
 
public function getLegendeId() {
$tpl = Config::get('legendeIdCarteTpl');