LOADCONFIG
in package
LOADCONFIG
Load config variables from the database
Table of Contents
Methods
- filterMethod() : mixed
- Filter function for method GET parameter
- getVars() : mixed
- Make sure we get HTTP VARS in whatever format they come in
- stripHtmlTags() : mixed
- Strip some HTML tags from string (and check for json-encoded array).
Methods
filterMethod()
Filter function for method GET parameter
private
filterMethod(mixed $value) : mixed
Method should have the format of an array key of a wikindxMessages() catalog
Parameters
- $value : mixed
getVars()
Make sure we get HTTP VARS in whatever format they come in
private
getVars() : mixed
Use $vars = GLOBALS::getVars(); to get querystrings and form elements
stripHtmlTags()
Strip some HTML tags from string (and check for json-encoded array).
private
stripHtmlTags(mixed $element) : mixed
Since adding tinymce, we only strip javascript and the enclosing
tag tinymce adds
Parameters
- $element : mixed