Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 620 → Rev 621

/trunk/modules/fiche/formateurs/Illustrations.php
34,6 → 34,7
$donnees['nomSciRetenu'] = $this->nomCourant->getNomRetenu()->get('nom_sci_html');
$donnees['cel'] = $this->getCel();
$donnees['photoflora'] = $this->getPhotoFlora();
$donnees['coste'] = $this->getCoste();
return $donnees;
}
 
52,6 → 53,18
return $donnees;
}
 
public function getCoste() {
$coste = array();
$tax = $this->nomCourant->getNomRetenu()->get('num_taxonomique');
$this->images->setProjet('coste');
$this->images->setNnTaxon($tax);
$costeImg = $this->images->getInfosImagesTaxons();
foreach ($costeImg as $infos) {
$coste['images'][] = $infos['binaire.href'];
}
return $coste;
}
public function getPhotoFlora() {
$photoflora = array();
$this->images->setProjet('photoflora');