Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 294 | Rev 321 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
291 jpm 1
<?php
2
// declare(encoding='UTF-8');
3
/**
4
 * Classe Onglet Synthese.
5
 *
6
 * @category	PHP 5.2
7
 * @package		eflore-consultation
8
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
9
 * @author		Delphine CAUQUIL <delphine@tela-botanica.org>
10
 * @author		Grégoire DUCHÉ <gregoire@tela-botanica.org>
11
 * @copyright	2011 Tela-Botanica
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
14
 * @version		$Id$
15
 */
16
class Synthese extends aControleur {
17
 
18
	private $conteneur = null;
294 delphine 19
	private $nomCourant = null;
291 jpm 20
 
21
	public function __construct(Conteneur $conteneur) {
22
		$this->conteneur = $conteneur;
294 delphine 23
		$this->nomCourant = $this->conteneur->getNomCourant();
291 jpm 24
	}
25
 
26
	public function obtenirDonnees() {
27
		$donnees = array();
28
		$illustrations = new Illustrations($this->conteneur);
29
		$donnees['illustration'] = $illustrations->getBloc();
30
		$repartition = new Repartition($this->conteneur);
31
		$donnees['repartition'] = $repartition->getBloc();
32
		$nomenclature = new Nomenclature($this->conteneur);
33
		$donnees['nomenclature'] = $nomenclature->getBloc();
34
		$description = new Description($this->conteneur);
35
		$donnees['description'] = $description->getBloc();
306 jpm 36
		$ethnobotanique = new Ethnobotanique($this->conteneur);
37
		$donnees['ethnobotanique'] = $ethnobotanique->getBloc();
291 jpm 38
		return $donnees;
39
	}
40
 
41
}
42
?>