2 |
aurelien |
1 |
<?php
|
|
|
2 |
// declare(encoding='UTF-8');
|
|
|
3 |
/**
|
|
|
4 |
* Classe de gestion des observations.
|
|
|
5 |
*
|
|
|
6 |
* @package ODS_saisie
|
|
|
7 |
* @category Php 5.2
|
|
|
8 |
* @author Aurélien Peronnet <aurelien@tela-botanica.org>
|
|
|
9 |
* @copyright 2010 Tela-Botanica
|
|
|
10 |
* @license http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
|
|
|
11 |
* @license http://www.gnu.org/licenses/gpl.html Licence GNU-GPL
|
|
|
12 |
* @version SVN: $Id: Fiche.php 152 2010-09-06 16:19:12Z jpm $
|
|
|
13 |
*/
|
|
|
14 |
class Observation extends aControleur {
|
|
|
15 |
|
|
|
16 |
public function __construct() {
|
|
|
17 |
|
|
|
18 |
parent::__construct();
|
|
|
19 |
$this->initialiser();
|
|
|
20 |
}
|
|
|
21 |
|
|
|
22 |
public function initialiser() {
|
|
|
23 |
|
|
|
24 |
}
|
|
|
25 |
|
|
|
26 |
public function executerActionParDefaut() {
|
|
|
27 |
return $this->afficherFormulaireRechercheObservation();
|
|
|
28 |
}
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
public function afficherFormulaireRechercheObservation() {
|
|
|
32 |
$donnees = array();
|
|
|
33 |
$formulaire = $this->getVue('formulaires/observation_recherche',$donnees);
|
|
|
34 |
$this->setSortie(self::RENDU_CORPS, $formulaire);
|
|
|
35 |
}
|
|
|
36 |
|
|
|
37 |
public function afficherResultatRechercheObservation() {
|
|
|
38 |
|
|
|
39 |
$this->setSortie(self::RENDU_CORPS, $this->getVue('listes/observation_liste', $donnees));
|
|
|
40 |
}
|
|
|
41 |
|
|
|
42 |
// +---------------------------------------------------------------------------------------------------------------+
|
|
|
43 |
// METHODES APPELEES LORS DE LA VALIDATION D'UN FORMULAIRE
|
|
|
44 |
|
|
|
45 |
// +---------------------------------------------------------------------------------------------------------------+
|
|
|
46 |
// METHODES DE RECHERCHE DE DONNEES
|
|
|
47 |
|
|
|
48 |
}
|
|
|
49 |
?>
|