Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

No changes between revisions

Ignore whitespace Rev 1465 → Rev 1466

/branches/v5.10-vilmorin/modules/fiche/formateurs/Repartition.php
16,6 → 16,7
 
private $conteneur = null;
private $nomCourant = null;
private $noms = null;
private $referentiel = 'bdtfx';
private $donnees = array();
private $cartes;
24,6 → 25,7
 
public function __construct(Conteneur $conteneur) {
$this->conteneur = $conteneur;
$this->noms = $this->conteneur->getApiNoms();
$this->nomCourant = $this->conteneur->getNomCourant();
$this->referentiel = $this->conteneur->getParametre('referentiel');
$this->cartes = $this->conteneur->getApiCartes();
58,8 → 60,10
if ($projetRepartition != '') {
$this->cartes->setProjet($projetRepartition);
$this->cartes->setLargeur('630');
$nt = $this->nomCourant->getNt();
$this->cartes->setId("{$this->referentiel}.nt:$nt");
$synonymes = $this->noms->getSynonymes($this->nomCourant->getNnr());
$synonymesNn = implode(array_keys($synonymes['resultat']), ',');
$nn = $this->nomCourant->getNnr();
$this->cartes->setId("{$this->referentiel}.nn:$synonymesNn");
$repartition['svgUrl'] = $this->cartes->getUrlDataSvg();
$repartition['pngUrl'] = $this->cartes->getUrlPng();
$repartition['legende'] = $this->cartes->getLegendeId();
/branches/v5.10-vilmorin
Property changes:
Modified: svn:mergeinfo
Merged /trunk:r1465