Subversion Repositories Applications.referentiel

Rev

Rev 134 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
37 jpm 1
<?php
2
// declare(encoding='UTF-8');
3
/**
4
 * Classe Controleur du module Consultation.
5
 * Permet de consultation la version de travail d'un référentiel.
6
 *
7
 * @package		Referentiel
8
 * @category	Php5.2
9
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
10
 * @copyright	2010 Tela-Botanica
11
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
12
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL
13
 * @version		SVN: $Id$
14
 */
15
class Consultation extends AppliControleur {
16
 
17
	private $referentiel = null;
18
 
19
	public function __construct()  {
20
		parent::__construct();
21
 
22
		// Récupération de paramêtres
23
		if (isset($_GET['ref'])) { // code du projet courrant
24
			$this->referentiel = strtolower($_GET['ref']);
25
		}
26
	}
27
 
28
	//+----------------------------------------------------------------------------------------------------------------+
29
	// Méthodes
30
	/**
31
	 * Fonction d'affichage par défaut
32
	 */
33
	public function executerActionParDefaut() {
45 jpm 34
		$this->definirCommeModulePrincipal(get_class($this));
37 jpm 35
		$this->construireMenu($this->referentiel);
36
		$this->construireFilAriane($this->referentiel);
290 delphine 37
		$_GET['recherche'] = "#";
38
		$this->executerActionReferentiel('Recherche', 'rechercher', $this->referentiel, 20);
37 jpm 39
	}
70 delphine 40
 
41
 
37 jpm 42
}
43
?>