Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 549 → Rev 550

/trunk/modules/popup_illustrations/PopupIllustrations.php
16,12 → 16,14
class PopupIllustrations extends aControleur {
private $conteneur = null;
private $id_image = '';
private $images = null;
private $appUrls = null;
 
 
public function initialiser() {
$this->capturerParametres();
$this->conteneur = new Conteneur();
$this->images = $this->conteneur->getApiImages();
$this->appUrls = $this->conteneur->getAppUrls();
}
 
private function capturerParametres() {
37,10 → 39,11
public function executerFiche(){
$infos = array();
$this->images->setProjet('cel');
$images = $this->images->getInfosImageParIdImage($this->id_image);
Debug::printr($images);
$img = $this->images->getInfosImageParIdImage($this->id_image);
Debug::printr($img);
$infos['id'] = $this->id_image;
$infos['image'] = $images;
$infos['image'] = $img;
$infos['urlContact'] = $this->appUrls->obtenirUrlPopUpContact($img['auteur.id'], $this->id_image);
 
$this->setSortie(self::RENDU_CORPS, $this->getVue('popup_fiche_illustrations', $infos));
}