36,8 → 36,8 |
public function getBloc() { |
// Trop long, il faut un service spécial... |
$this->images->setProjet('cel'); |
$nns = $this->nomCourant->getNns(); |
$infos_image = $this->images->getUrlPremiereImageParIdsNoms(array($nns)); |
$nnr = $this->nomCourant->getNnr(); |
$infos_image = $this->images->getUrlPremiereImageParIdsNoms(array($nnr)); |
$image = array_slice($infos_image['resultats'], 0); |
$donnees['imageUrl'] = $image[0]['binaire.href']; |
return $donnees; |
46,8 → 46,8 |
public function getPhotoFlora() { |
$photoflora = array(); |
$this->images->setProjet('photoflora'); |
$nns = $this->nomCourant->getNns(); |
$images = $this->images->getInfosImagesParIdsNoms(array($nns)); |
$nnr = $this->nomCourant->getNnr(); |
$images = $this->images->getInfosImagesParIdsNoms(array($nnr)); |
|
$this->meta->setProjet('photoflora'); |
$meta = $this->meta->getMetaDonnees(); |
61,8 → 61,8 |
public function getCel() { |
$cel = array(); |
$this->images->setProjet('cel'); |
$nns = $this->nomCourant->getNns(); |
$images = $this->images->getInfosImagesParIdsNoms(array($nns)); |
$nnr = $this->nomCourant->getNnr(); |
$images = $this->images->getInfosImagesParIdsNoms(array($nnr)); |
|
$this->meta->setProjet('cel'); |
$meta = $this->meta->getMetaDonnees(); |