示例#1
0
 public static function Demarrer()
 {
     if (self::$startSession !== 1) {
         session_start();
         header('Content-Type: text/xml; charset=utf-8');
         self::$startSession = 1;
         self::Page(self::LirePost('idPage'));
         if (self::GetValeur('initialisee') !== 1) {
             self::Initialiser();
         }
         if (self::GetValeurPage('initialisee') !== 1) {
             self::InitialiserPage();
         }
         self::$poidsJavascript = 0;
         self::$listeLib = new MListeLibellesLibres();
         self::$listeLibText = new MListeLibellesTextesLibres();
         self::$listeLibMem = self::LireSession('libellesMemorises');
         if (self::$listeLibMem === NULL) {
             self::$listeLibMem = array();
         }
         self::$libCharges = false;
         self::$presentationChargee = false;
         self::CheckSession();
         GDroit::Charger();
         GContexte::Charger();
         GReferentiel::Initialiser();
     }
 }