29,6 → 29,7 |
public function obtenirDonnees() { |
$donnees = array(); |
$donnees['cel'] = $this->getCel(); |
$donnees['photoflora'] = $this->getPhotoFlora(); |
return $donnees; |
} |
|
43,6 → 44,24 |
$donnees = array(); |
return $donnees; |
} |
|
public function getPhotoFlora() { |
$photoflora = array(); |
$this->images->setProjet('photoflora'); |
|
// pour le moment on triche et on envoie un num tax alors qu'on |
// utilise le paramètre masque.nn |
$nt = $this->nomCourant->getNomSelectionne()->get('num_tax'); |
$images = $this->images->getInfosImagesParIdsNoms(array($nt)); |
|
$this->meta->setProjet('photoflora'); |
$meta = $this->meta->getMetaDonnees(); |
$titreMeta = $meta[0]['titre']; |
$photoflora['images'] = $images['resultats']; |
$photoflora['meta']['titre'] = $titreMeta; |
$photoflora['meta']['url'] = $this->appUrls->obtenirUrlMetaDonnees('photoflora'); |
return $photoflora; |
} |
|
public function getCel() { |
$cel = array(); |