Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 501 | Rev 904 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 501 Rev 550
Line 14... Line 14...
14
 */
14
 */
Line 15... Line 15...
15
 
15
 
16
class PopupIllustrations extends aControleur {
16
class PopupIllustrations extends aControleur {
17
	private $conteneur = null;
17
	private $conteneur = null;
18
	private $id_image = '';
-
 
-
 
18
	private $id_image = '';
-
 
19
	private $images = null;
Line 19... Line 20...
19
 
20
	private $appUrls = null;
20
 
21
 
21
	public function initialiser() {
22
	public function initialiser() {
22
		$this->capturerParametres();
23
		$this->capturerParametres();
-
 
24
		$this->conteneur = new Conteneur();
23
		$this->conteneur = new Conteneur();
25
		$this->images = $this->conteneur->getApiImages();
Line 24... Line 26...
24
		$this->images = $this->conteneur->getApiImages();
26
		$this->appUrls = $this->conteneur->getAppUrls();
25
	}
27
	}
26
 
28
 
Line 35... Line 37...
35
	}
37
	}
Line 36... Line 38...
36
 
38
 
37
	public function executerFiche(){
39
	public function executerFiche(){
38
		$infos = array();
40
		$infos = array();
39
		$this->images->setProjet('cel');
41
		$this->images->setProjet('cel');
40
		$images = $this->images->getInfosImageParIdImage($this->id_image);
42
		$img = $this->images->getInfosImageParIdImage($this->id_image);
41
		Debug::printr($images);
43
		Debug::printr($img);
42
		$infos['id'] = $this->id_image;
44
		$infos['id'] = $this->id_image;
-
 
45
		$infos['image'] = $img;
Line 43... Line 46...
43
		$infos['image'] = $images;
46
		$infos['urlContact'] = $this->appUrls->obtenirUrlPopUpContact($img['auteur.id'], $this->id_image);
44
 
47
 
Line 45... Line 48...
45
		$this->setSortie(self::RENDU_CORPS, $this->getVue('popup_fiche_illustrations', $infos));
48
		$this->setSortie(self::RENDU_CORPS, $this->getVue('popup_fiche_illustrations', $infos));