New file |
0,0 → 1,40 |
<?php |
// declare(encoding='UTF-8'); |
/** |
* Classe Onglet Synthese. |
* |
* @category PHP 5.2 |
* @package eflore-consultation |
* @author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
* @author Delphine CAUQUIL <delphine@tela-botanica.org> |
* @author Grégoire DUCHÉ <gregoire@tela-botanica.org> |
* @copyright 2011 Tela-Botanica |
* @license http://www.gnu.org/licenses/gpl.html Licence GNU-GPL-v3 |
* @license http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL-v2 |
* @version $Id$ |
*/ |
class Synthese extends aControleur { |
|
private $conteneur = null; |
private $nomCourrant = null; |
|
public function __construct(Conteneur $conteneur) { |
$this->conteneur = $conteneur; |
$this->nomCourrant = $this->conteneur->getNomCourrant(); |
} |
|
public function obtenirDonnees() { |
$donnees = array(); |
$illustrations = new Illustrations($this->conteneur); |
$donnees['illustration'] = $illustrations->getBloc(); |
$repartition = new Repartition($this->conteneur); |
$donnees['repartition'] = $repartition->getBloc(); |
$nomenclature = new Nomenclature($this->conteneur); |
$donnees['nomenclature'] = $nomenclature->getBloc(); |
$description = new Description($this->conteneur); |
$donnees['description'] = $description->getBloc(); |
return $donnees; |
} |
|
} |
?> |