Line 42... |
Line 42... |
42 |
$img = $this->images->setApi(Eflore::API_EFLORE)->getInfosImageParIdImage($this->id_image); // prêt à passer à API_DEL
|
42 |
$img = $this->images->setApi(Eflore::API_EFLORE)->getInfosImageParIdImage($this->id_image); // prêt à passer à API_DEL
|
43 |
$infos['id'] = $this->id_image;
|
43 |
$infos['id'] = $this->id_image;
|
44 |
$img['date'] = $this->formaterDateImg($img['date']);
|
44 |
$img['date'] = $this->formaterDateImg($img['date']);
|
45 |
$infos['image'] = $img;
|
45 |
$infos['image'] = $img;
|
46 |
$infos['urlContact'] = $this->appUrls->obtenirUrlPopUpContact($img['auteur.id'], $this->id_image);
|
46 |
$infos['urlContact'] = $this->appUrls->obtenirUrlPopUpContact($img['auteur.id'], $this->id_image);
|
47 |
$infos['urlMauvaiseIdentification'] = $this->appUrls->obtenirUrlMauvaiseIdentification($img['observation']['id_observation']);
|
47 |
$infos['urlMauvaiseIdentification'] = $this->appUrls->obtenirUrlMauvaiseIdentification($img['observation.id']);
|
48 |
$this->setSortie(self::RENDU_CORPS, $this->getVue('popup_fiche_illustrations', $infos));
|
48 |
$this->setSortie(self::RENDU_CORPS, $this->getVue('popup_fiche_illustrations', $infos));
|
49 |
}
|
49 |
}
|
Line 50... |
Line 50... |
50 |
|
50 |
|
51 |
private function formaterDateImg($date) {
|
51 |
private function formaterDateImg($date) {
|