$doctypes
$doctypes
registerModule( $module, $overload = false) : mixed
Registers a module to the recognized module list, useful for overloading pre-existing modules.
$module | Mixed: string module name, with or without HTMLPurifier_HTMLModule prefix, or instance of subclass of HTMLPurifier_HTMLModule. |
|
$overload | Boolean whether or not to overload previous modules. If this is not set, and you do overload a module, HTML Purifier will complain with a warning. |
getElement(string $name, bool $trusted = null) : \HTMLPurifier_ElementDef
Retrieves a single merged element definition
string | $name | Name of element |
bool | $trusted | Boolean trusted overriding parameter: set to true if you want the full version of an element |
Merged HTMLPurifier_ElementDef