Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 421 → Rev 422

/trunk/modules/fiche/formateurs/Repartition.php
36,7 → 36,7
return $donnees;
}
 
public function getChorodep() {
private function getChorodep() {
$this->cartes->setProjet('chorodep');
$this->cartes->setLargeur('630');
$id = 'nn:'.$this->nomCourant->getNns();
52,7 → 52,7
return $chorodep;
}
public function getEflore() {
private function getEflore() {
$this->cartes->setProjet('eflore');
$this->cartes->setLargeur('max');
$this->cartes->setInfoNom($this->nomCourant->getNomRetenu());
62,12 → 62,24
}
 
public function getBloc() {
$donnees['chorodep'] = $this->getChorodepMiniature();
//$donnees['eflore'] = $this->getEfloreMiniature();
return $donnees;
}
private function getChorodepMiniature() {
$this->cartes->setProjet('chorodep');
$this->cartes->setLargeur('190x178');
$id = 'nn:'.$this->nomCourant->getNns();
$this->cartes->setId($id);
$donnees['carteUrl'] = $this->cartes->getUrlPng();
return $donnees;
return $this->cartes->getUrlPng();
}
private function getEfloreMiniature() {
$this->cartes->setProjet('eflore');
$this->cartes->setLargeur('min');
$this->cartes->setInfoNom($this->nomCourant->getNomRetenu());
return $this->cartes->getUrlMap();
}
}
?>