(no description)
File Size: | 467 lines (16 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
HTMLPurifier_HTMLModuleManager:: (8 methods):
__construct()
registerModule()
addModule()
addPrefix()
setup()
processModule()
getElements()
getElement()
Class: HTMLPurifier_HTMLModuleManager - X-Ref
__construct() X-Ref |
If set to true, unsafe elements and attributes will be allowed. |
registerModule($module, $overload = false) X-Ref |
Registers a module to the recognized module list, useful for overloading pre-existing modules. param: $module Mixed: string module name, with or without param: $overload Boolean whether or not to overload previous modules. |
addModule($module) X-Ref |
Adds a module to the current doctype by first registering it, and then tacking it on to the active doctype |
addPrefix($prefix) X-Ref |
Adds a class prefix that registerModule() will use to resolve a string name to a concrete class |
setup($config) X-Ref |
Performs processing on modules, after being called you may use getElement() and getElements() param: HTMLPurifier_Config $config |
processModule($module) X-Ref |
Takes a module and adds it to the active module collection, registering it if necessary. |
getElements() X-Ref |
Retrieves merged element definitions. return: Array of HTMLPurifier_ElementDef |
getElement($name, $trusted = null) X-Ref |
Retrieves a single merged element definition param: string $name Name of element param: bool $trusted Boolean trusted overriding parameter: set to true return: HTMLPurifier_ElementDef Merged HTMLPurifier_ElementDef |