Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 252 → Rev 279

/trunk/modules/resultat/formateurs/nom_scientifique/DeterminationFormateur.php
14,7 → 14,7
private $motsASurligner = array();
private $noms = array();
private $infosPourTpl = array();
 
public function __construct(ParametresResultats $parametres, Array $resultats,
Surligneur $surligneur = null, Trieur $trieur = null, AppUrls $urls = null,
ChaineManipulateur $manipulateurDeChaine = null, Images $imagesService = null) {
38,6 → 38,7
 
public function formater() {
$this->obtenirUrlsPhotos();
$this->chargerRepartition();
$this->extraireInfosNomsPourTplDetermination();
}
 
49,6 → 50,14
$this->infosPourTpl['imagesUrls'] = $this->supprimerCodeReftaxDesIds($urls);
}
 
private function chargerRepartition() {
$premierNom = current($this->noms);
$nomRetenuId = $premierNom['nom_retenu.id'];
$serviceRepartition = new Cartes('chorodep', $nomRetenuId, 'nn', "108x101");
$urlPng = $serviceRepartition->getUrlPng();
$this->infosPourTpl['repartition_vignette'] = $urlPng;
}
private function extraireIdDesNoms() {
$ids = array();
foreach ($this->noms as $id => $nom) {