Amélioration des scripts AJAX et des styles
Ajout de la fonctionnalité "changement d'options" pour la clockAdvanced
This commit is contained in:
@@ -21,6 +21,12 @@ abstract class Module
|
||||
|
||||
abstract static function start($params);
|
||||
|
||||
abstract static function updateConfig($updated);
|
||||
public static function updateConfig($updated){
|
||||
foreach ($updated as $what=>$withWhat){
|
||||
if(in_array($what, self::$paramsList)){
|
||||
call_user_func(array(get_class(), "set".ucfirst($what)), $withWhat);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user