Rev 134 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php// declare(encoding='UTF-8');/*** Classe Controleur du module Consultation.* Permet de consultation la version de travail d'un référentiel.** @package Referentiel* @category Php5.2* @author Jean-Pascal MILCENT <jpm@tela-botanica.org>* @copyright 2010 Tela-Botanica* @license http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL* @license http://www.gnu.org/licenses/gpl.html Licence GNU-GPL* @version SVN: $Id$*/class Consultation extends AppliControleur {private $referentiel = null;public function __construct() {parent::__construct();// Récupération de paramêtresif (isset($_GET['ref'])) { // code du projet courrant$this->referentiel = strtolower($_GET['ref']);}}//+----------------------------------------------------------------------------------------------------------------+// Méthodes/*** Fonction d'affichage par défaut*/public function executerActionParDefaut() {$this->definirCommeModulePrincipal(get_class($this));$this->construireMenu($this->referentiel);$this->construireFilAriane($this->referentiel);$_GET['recherche'] = "#";$this->executerActionReferentiel('Recherche', 'rechercher', $this->referentiel, 20);}}?>