Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 476 | Rev 550 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 476 Rev 501
Line 1... Line 1...
1
<?php
1
<?php
-
 
2
// declare(encoding='UTF-8');
2
/**
3
/**
3
 * Service fournissant une popup 
4
 * Affiche un pop-up avec les infos d'une illustration.
4
 * Encodage en entr�e : ISO-8859-15
-
 
5
 * Encodage en sortie : ISO-8859-15
-
 
6
 * Cas d'utilisation :
-
 
7
 * 
5
 *
-
 
6
 * @category	php 5.2
-
 
7
 * @package		eFlore-consultation
8
 * @author David DELON <david.delon@clapas.net>abstract 
8
 * @author		Delphine CAUQUIL <delphine@tela-botanica.org>
9
 * @license GPL v3 <http://www.gnu.org/licenses/gpl.txt>
9
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
-
 
10
 * @copyright	Copyright (c) 2012, Tela Botanica (accueil@tela-botanica.org)
10
 * @license CECILL v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt>
11
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
-
 
12
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL
11
 * @version $Id$
13
 * @version		$Id$
12
 * @copyright 2007
-
 
13
 */
14
 */
Line 14... Line 15...
14
 
15
 
15
class PopupIllustrations extends aControleur {
16
class PopupIllustrations extends aControleur {
16
	private $conteneur = null;
17
	private $conteneur = null;
Line 32... Line 33...
32
	public function executerActionParDefaut() {
33
	public function executerActionParDefaut() {
33
		$this->executerFiche();
34
		$this->executerFiche();
34
	}
35
	}
Line 35... Line 36...
35
	
36
 
36
	public function executerFiche(){
37
	public function executerFiche(){
37
		$cel = array();
38
		$infos = array();
38
		$this->images->setProjet('cel');
39
		$this->images->setProjet('cel');
-
 
40
		$images = $this->images->getInfosImageParIdImage($this->id_image);
39
		$images = $this->images->getInfosImageParIdImage($this->id_image);
41
		Debug::printr($images);
40
		$cel['id'] = $this->id_image;
42
		$infos['id'] = $this->id_image;
Line 41... Line -...
41
		$cel['image'] = $images;
-
 
42
		
43
		$infos['image'] = $images;
43
		header('Content-type: text/html');
-
 
44
		print_r($this->getVue('popup_fiche_illustrations', $cel));
44
 
Line 45... Line 45...
45
		exit;
45
		$this->setSortie(self::RENDU_CORPS, $this->getVue('popup_fiche_illustrations', $infos));
46
	}
46
	}
47
 
47