Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 306 | Rev 337 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 306 Rev 321
1
<?php
1
<?php
2
// declare(encoding='UTF-8');
2
// declare(encoding='UTF-8');
3
/**
3
/**
4
 * Classe Onglet Synthese.
4
 * Classe Onglet Synthese.
5
 *
5
 *
6
 * @category	PHP 5.2
6
 * @category	PHP 5.2
7
 * @package		eflore-consultation
7
 * @package		eflore-consultation
8
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
8
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
9
 * @author		Delphine CAUQUIL <delphine@tela-botanica.org>
9
 * @author		Delphine CAUQUIL <delphine@tela-botanica.org>
10
 * @author		Grégoire DUCHÉ <gregoire@tela-botanica.org>
10
 * @author		Grégoire DUCHÉ <gregoire@tela-botanica.org>
11
 * @copyright	2011 Tela-Botanica
11
 * @copyright	2011 Tela-Botanica
12
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL-v3
12
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL-v3
13
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL-v2
13
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL-v2
14
 * @version		$Id$
14
 * @version		$Id$
15
 */
15
 */
16
class Synthese extends aControleur {
16
class Synthese extends aControleur {
17
 
17
 
18
	private $conteneur = null;
18
	private $conteneur = null;
19
	private $nomCourant = null;
19
	private $nomCourant = null;
20
 
20
 
21
	public function __construct(Conteneur $conteneur) {
21
	public function __construct(Conteneur $conteneur) {
22
		$this->conteneur = $conteneur;
22
		$this->conteneur = $conteneur;
23
		$this->nomCourant = $this->conteneur->getNomCourant();
23
		$this->nomCourant = $this->conteneur->getNomCourant();
24
	}
24
	}
25
 
25
 
26
	public function obtenirDonnees() {
26
	public function obtenirDonnees() {
27
		$donnees = array();
27
		$donnees = array();
28
		$illustrations = new Illustrations($this->conteneur);
28
		$illustrations = new Illustrations($this->conteneur);
29
		$donnees['illustration'] = $illustrations->getBloc();
29
		$donnees['illustration'] = $illustrations->getBloc();
30
		$repartition = new Repartition($this->conteneur);
30
		$repartition = new Repartition($this->conteneur);
31
		$donnees['repartition'] = $repartition->getBloc();
31
		$donnees['repartition'] = $repartition->getBloc();
32
		$nomenclature = new Nomenclature($this->conteneur);
32
		$nomenclature = new Nomenclature($this->conteneur);
33
		$donnees['nomenclature'] = $nomenclature->getBloc();
33
		$donnees['nomenclature'] = $nomenclature->getBloc();
34
		$description = new Description($this->conteneur);
34
		$description = new Description($this->conteneur);
35
		$donnees['description'] = $description->getBloc();
35
		$donnees['description'] = $description->getBloc();
36
		$ethnobotanique = new Ethnobotanique($this->conteneur);
36
		$ethnobotanique = new Ethnobotanique($this->conteneur);
37
		$donnees['ethnobotanique'] = $ethnobotanique->getBloc();
37
		$donnees['ethnobotanique'] = $ethnobotanique->getBloc();
-
 
38
		$bibliographie = new Bibliographie($this->conteneur);
-
 
39
		$donnees['bibliographie'] = $bibliographie->getBloc();
38
		return $donnees;
40
		return $donnees;
39
	}
41
	}
40
 
42
 
41
}
43
}
42
?>
44
?>