Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 337 | Rev 422 | 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();
389 aurelien 28
 
29
		$nt = $this->conteneur->getNomCourant()->getNomRetenu()->get('num_taxonomique');
30
		$donnees['infos'] = array('referentiel' => $this->conteneur->getParametre('referentiel'), 'num_tax' => $nt);
291 jpm 31
		$illustrations = new Illustrations($this->conteneur);
32
		$donnees['illustration'] = $illustrations->getBloc();
33
		$repartition = new Repartition($this->conteneur);
34
		$donnees['repartition'] = $repartition->getBloc();
35
		$nomenclature = new Nomenclature($this->conteneur);
36
		$donnees['nomenclature'] = $nomenclature->getBloc();
37
		$description = new Description($this->conteneur);
38
		$donnees['description'] = $description->getBloc();
306 jpm 39
		$ethnobotanique = new Ethnobotanique($this->conteneur);
40
		$donnees['ethnobotanique'] = $ethnobotanique->getBloc();
337 aurelien 41
		$classification = new Classification($this->conteneur);
42
		$donnees['classification'] = $classification->getBloc();
321 aurelien 43
		$bibliographie = new Bibliographie($this->conteneur);
44
		$donnees['bibliographie'] = $bibliographie->getBloc();
291 jpm 45
		return $donnees;
46
	}
47
 
48
}
49
?>