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'); |