Subversion Repositories Applications.referentiel

Rev

Rev 38 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?php
// declare(encoding='UTF-8');
/**
 * Classe Controleur du module Versionnage.
 * Permet de publier une nouvelle version d'un référentiel de travail. 
 * 
 * @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 Versionnage extends AppliControleur {
        
        private $referentiel = null;
        
        public function __construct()  {
                parent::__construct();
                
                // Récupération de paramêtres
                if (isset($_GET['ref'])) { // code du projet courrant
                        $this->referentiel = strtolower($_GET['ref']);
                }
        }
        
        //+----------------------------------------------------------------------------------------------------------------+
        // Méthodes
        /**
         * Fonction d'affichage par défaut
         */
        public function executerActionParDefaut() {
                $this->construireMenu($this->referentiel);
                $this->construireFilAriane($this->referentiel);
                $this->setSortie(self::RENDU_CORPS, '<p>En cours de réalisation...</p>', false);
        }       
}
?>