Subversion Repositories Applications.framework

Rev

Rev 311 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 311 Rev 317
Line 32... Line 32...
32
     */
32
     */
33
    public function __construct() {
33
    public function __construct() {
34
        $sortie = array('titre' => '', 'description' => '', 'tags' => '',
34
        $sortie = array('titre' => '', 'description' => '', 'tags' => '',
35
            'corps' => '', 'tete' => '', 'pied' => '', 'navigation' => '');
35
            'corps' => '', 'tete' => '', 'pied' => '', 'navigation' => '');
36
        $url = new Url(Config::get('url_base_index'));
36
        $url = new Url(Config::get('url_base_index'));
37
        self::$parametres = array(    'module' => 'Recherche', 
37
        self::$parametres = array(
-
 
38
        	'module' => Config::get('module_defaut'), 
38
            'action' => 'executerActionParDefaut',
39
            'action' => Config::get('action_defaut'),
39
            'sortie' => $sortie,
40
            'sortie' => $sortie,
40
            'url' => $url);
41
            'url' => $url);
41
        parent::__construct();
42
        parent::__construct();
42
    }
43
    }
Line 54... Line 55...
54
        if (isset($_GET['action'])) {
55
        if (isset($_GET['action'])) {
55
            self::$parametres['action'] = $_GET['action'];
56
            self::$parametres['action'] = $_GET['action'];
56
        }
57
        }
57
        self::$parametres['url']->setRequete(array('action' => self::$parametres['action'], 'module' => self::$parametres['module']));
58
        self::$parametres['url']->setRequete(array('action' => self::$parametres['action'], 'module' => self::$parametres['module']));
Line 58... Line -...
58
                
-
 
59
        $registre = Registre::getInstance();
59
                
Line 60... Line 60...
60
        $registre->set('parametres', &self::$parametres);
60
        Registre::set('parametres', &self::$parametres);
61
        
61
        
62
        $ClasseModule = self::$parametres['module'];
62
        $ClasseModule = self::$parametres['module'];
63
        $action = self::$parametres['action'];
63
        $action = self::$parametres['action'];