26,7 → 26,14 |
$this->urls = (is_null($urls)) ? new AppUrls() : $urls; |
$this->manipulateurDeChaine = is_null($manipulateurDeChaine) ? new ChaineManipulateur() : $manipulateurDeChaine; |
$this->imagesService = is_null($imagesService) ? new Images($this->parametres->projetImg) : $imagesService; |
$this->chargerRepartition(); |
} |
|
private function chargerRepartition($nn) { |
$serviceRepartition = new Cartes('chorodep', $nn, 'nn', "108x101"); |
$urlPng = $serviceRepartition->getUrlPng(); |
return $urlPng; |
} |
|
public function getTplInfos() { |
return $this->infosPourTpl; |
83,6 → 90,7 |
$taxon = array(); |
$taxon['nomSci'] = $nom['taxon']; |
$taxon['urlFiche'] = $this->urls->obtenirUrlFiche($nn, $this->parametres->typeNom, $this->parametres->masqueRecherche, $nom['taxon']); |
$taxon['repartition_vignette'] = $this->chargerRepartition($nn); |
$taxons[$nn] = $taxon; |
} |
$nom_verna = array(); |