diff options
author | Simon Rettberg | 2014-12-12 18:28:38 +0100 |
---|---|---|
committer | Simon Rettberg | 2014-12-12 18:28:38 +0100 |
commit | 97a0f7dcfdcf4a5263c1cc6c19160a0868abb5f2 (patch) | |
tree | cf735055cfb785ac64e60ab477e215f5f50ad767 /inc/configmodule/customodule.inc.php | |
parent | [news] fix xml tags of news api (diff) | |
download | slx-admin-97a0f7dcfdcf4a5263c1cc6c19160a0868abb5f2.tar.gz slx-admin-97a0f7dcfdcf4a5263c1cc6c19160a0868abb5f2.tar.xz slx-admin-97a0f7dcfdcf4a5263c1cc6c19160a0868abb5f2.zip |
Rework config module class structure. Still some TODOs though....
Diffstat (limited to 'inc/configmodule/customodule.inc.php')
-rw-r--r-- | inc/configmodule/customodule.inc.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/inc/configmodule/customodule.inc.php b/inc/configmodule/customodule.inc.php new file mode 100644 index 00000000..89f0aca6 --- /dev/null +++ b/inc/configmodule/customodule.inc.php @@ -0,0 +1,16 @@ +<?php + +ConfigModules::registerModule( + ConfigModule_CustomModule::MODID, // ID + Dictionary::translate('config-module', 'custom_title'), // Title + Dictionary::translate('config-module', 'custom_description'), // Description + Dictionary::translate('config-module', 'group_generic'), // Group + false, // Only one per config? + 100 // Sort order +); + +class ConfigModule_CustomModule extends ConfigModule +{ + const MODID = 'CustomModule'; + +} |