fonction Modules::get_liste_paramètres()
This commit is contained in:
parent
e0e55ce46a
commit
fbf3433fc2
|
@ -15,7 +15,7 @@ class CMS {
|
||||||
// TODO : appeller Modules::action($chemin, $action, $paramètres);
|
// TODO : appeller Modules::action($chemin, $action, $paramètres);
|
||||||
|
|
||||||
$chemin = new Chemin($chemin_str);
|
$chemin = new Chemin($chemin_str);
|
||||||
$noms_params = Modules::liste_paramètres($chemin);
|
$noms_params = Modules::get_liste_paramètres($chemin);
|
||||||
$noms_params[] = "action";
|
$noms_params[] = "action";
|
||||||
// récupérer $noms_params dans $_GET, $_POST et $_FILE
|
// récupérer $noms_params dans $_GET, $_POST et $_FILE
|
||||||
$action = $paramètres["action"];
|
$action = $paramètres["action"];
|
||||||
|
|
|
@ -13,9 +13,10 @@ class Modules {
|
||||||
return self::$liste_modules[$type];
|
return self::$liste_modules[$type];
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function liste_paramètres($chemin) {
|
public static function get_liste_paramètres($chemin) {
|
||||||
// TODO
|
// TODO
|
||||||
return self::get_module($chemin);
|
call_user_func(array(self::get_module($chemin), "get_liste_paramètres"));
|
||||||
|
return ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user