Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 293 → Rev 294

/trunk/modules/fiche/formateurs/Repartition.php
15,13 → 15,13
class Repartition extends aControleur {
 
private $conteneur = null;
private $nomCourrant = null;
private $nomCourant = null;
private $tailleBloc = "190x178";
private $serviceChorodep = null;
 
public function __construct(Conteneur $conteneur) {
$this->conteneur = $conteneur;
$this->nomCourrant = $this->conteneur->getNomCourrant();
$this->nomCourant = $this->conteneur->getNomCourant();
$this->cartes = $this->conteneur->getApiCartes();
$this->meta = $this->conteneur->getApiMetaDonnees();
$this->appUrls = $this->conteneur->getAppUrls();
35,7 → 35,7
public function getChorodep() {
$this->cartes->setProjet('chorodep');
$this->cartes->setLargeur('630');
$id = 'nn:'.$this->nomCourrant->getNns();
$id = 'nn:'.$this->nomCourant->getNns();
$this->cartes->setId($id);
$chorodep['svgUrl'] = $this->cartes->getUrlDataSvg();
$chorodep['pngUrl'] = $this->cartes->getUrlPng();
51,7 → 51,7
public function getBloc() {
$this->cartes->setProjet('chorodep');
$this->cartes->setLargeur('190x178');
$id = 'nn:'.$this->nomCourrant->getNns();
$id = 'nn:'.$this->nomCourant->getNns();
$this->cartes->setId($id);
$donnees['carteUrl'] = $this->cartes->getUrlPng();
return $donnees;