Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 1026 → Rev 998

/trunk/metier/api_0.1/Cartes.php
27,11 → 27,7
public function setInfoNom($nom) {
$this->nom = $nom;
}
public function setInfoReferentiel($referentiel) {
$this->referentiel = $referentiel;
}
}
 
public function getUrlDataSvg() {
$tpl = Config::get('carteTpl');
56,22 → 52,6
return $url;
}
public function getUrlMapSvg() {
$tpl = Config::get('carteMoissonnageTpl');
$params = array('num_taxon' => $this->nom, 'referentiel' => $this->referentiel,
'largeur' => $this->largeur, 'mime_type' => 'text/html');
$url = $this->formaterUrl($tpl, $params);
return $url;
}
public function getUrlMapPng() {
$tpl = Config::get('carteMoissonnageTpl');
$params = array('num_taxon' => $this->nom, 'referentiel' => $this->referentiel,
'largeur' => $this->largeur, 'mime_type' => 'image/png');
$url = $this->formaterUrl($tpl, $params);
return $url;
}
public function getUrlEflorePng() {
$tpl = Config::get('efloreCarteTpl');
$params = array('num_nom' => $this->nom->get('id'), 'num_tax' => $this->nom->get('num_taxonomique') ,