Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Regard whitespace Rev 291 → Rev 361

/trunk/metier/api_0.1/Cartes.php
25,6 → 25,10
$this->largeur = $largeur;
}
 
public function setInfoNom($nom) {
$this->nom = $nom;
}
 
public function getUrlDataSvg() {
$tpl = Config::get('carteTpl');
$params = array('id' => $this->id, 'largeur' => $this->largeur, 'mime-type' => 'image/svg+xml');
39,6 → 43,15
return $url;
}
 
public function getUrlMap() {
$tpl = Config::get('efloreCarteTpl');
$params = array('num_nom' => $this->nom->get('id'), 'num_tax' => $this->nom->get('num_taxonomique') ,
'nom_sci' => $this->nom->get('nom_sci'), 'auteur' => $this->nom->get('auteur') ,
'largeur' => $this->largeur, 'mime_type' => 'text/htm');
$url = $this->formaterUrl($tpl, $params);
return $url;
}
 
public function getLegende() {
$tpl = Config::get('legendeCarteTpl');
$params = array('id' => $this->id);