Subversion Repositories Applications.referentiel

Rev

Rev 38 | Go to most recent revision | Details | 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 Versionnage.
5
 * Permet de publier une nouvelle version d'un référentiel de travail.
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 Versionnage 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() {
34
		$this->construireMenu($this->referentiel);
35
		$this->construireFilAriane($this->referentiel);
36
		$this->setSortie(self::RENDU_CORPS, '<p>En cours de réalisation...</p>', false);
37
	}
38
}
39
?>