[ Index ]

PHP Cross Reference of DokuWiki




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

(no description)

File Size: 224 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

admin_plugin_styling:: (13 methods):

Class: admin_plugin_styling  - X-Ref

DokuWiki Plugin styling (Admin Component)

getMenuSort()   X-Ref

return: int sort number in admin menu

forAdminOnly()   X-Ref

return: bool true if only access for superuser, false is for superusers and moderators

handle()   X-Ref
handle the different actions (also called from ajax)

html()   X-Ref
Render HTML output, e.g. helpful text and a form

form()   X-Ref
Create the actual editing form

colorValue($value)   X-Ref
Adjust three char color codes to the 6 char one supported by browser's color input

param: string $value
return: string

colorType($value)   X-Ref
Decide the input type based on the value

param: string $value
return: string color|text

runPreview()   X-Ref
saves the preview.ini (alos called from ajax directly)

runReset()   X-Ref
deletes the preview.ini

runRevert()   X-Ref
deletes the local style.ini replacements

runSave()   X-Ref
save the local style.ini replacements

makeini()   X-Ref
create the replacement part of a style.ini from submitted data

return: string

replaceIni($new)   X-Ref
replaces the replacement parts in the local ini

param: string $new the new ini contents