www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit fbf3433fc21f367f8c1f8c40144c863b1e8a2bc5
parent e0e55ce46a2ad0da7d4d70944621378ffb2ae82d
Author: Georges Dupéron <jahvascriptmaniac+github@free.fr>
Date:   Mon,  2 Aug 2010 06:15:32 +0200

fonction Modules::get_liste_paramètres()

Diffstat:
M__cms__/cms.php | 2+-
M__cms__/modules/modules.php | 5+++--
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/__cms__/cms.php b/__cms__/cms.php @@ -15,7 +15,7 @@ class CMS { // TODO : appeller Modules::action($chemin, $action, $paramètres); $chemin = new Chemin($chemin_str); - $noms_params = Modules::liste_paramètres($chemin); + $noms_params = Modules::get_liste_paramètres($chemin); $noms_params[] = "action"; // récupérer $noms_params dans $_GET, $_POST et $_FILE $action = $paramètres["action"]; diff --git a/__cms__/modules/modules.php b/__cms__/modules/modules.php @@ -13,9 +13,10 @@ class Modules { return self::$liste_modules[$type]; } - public static function liste_paramètres($chemin) { + public static function get_liste_paramètres($chemin) { // TODO - return self::get_module($chemin); + call_user_func(array(self::get_module($chemin), "get_liste_paramètres")); + return ; } }