[ Index ]

PHP Cross Reference of DokuWiki




/lib/plugins/config/ -> admin.php (summary)

Configuration Manager admin plugin

Author: Christopher Smith
Author: Ben Coburn
License: GPL 2 (http://www.gnu.org/licenses/gpl.html)
File Size: 292 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

admin_plugin_config:: (7 methods):

Class: admin_plugin_config  - X-Ref

All DokuWiki plugins to extend the admin function
need to inherit from this class

handle()   X-Ref
handle user request

html()   X-Ref
output appropriate html

settingNaturalComparison($a, $b)   X-Ref
Callback for sorting settings

return: int if $a is lower/equal/higher than $b
param: Setting $a
param: Setting $b

setupLocale($prompts = false)   X-Ref

param: bool $prompts

getTOC()   X-Ref
Generates a two-level table of contents for the config plugin.

return: array
author: Ben Coburn <btcoburn@silicodon.net>

printH1($id, $text)   X-Ref

param: string $id
param: string $text

addLang($key, $value)   X-Ref
Adds a translation to this plugin's language array

Used by some settings to set up dynamic translations

param: string $key
param: string $value