API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Public Member Functions | |
__construct ($dtd_regex) | |
validateChildren ($children, $config, $context) | |
Public Member Functions inherited from HTMLPurifier_ChildDef | |
getAllowedElements ($config) | |
validateChildren ($children, $config, $context) | |
Data Fields | |
$type = 'custom' | |
$allow_empty = false | |
$dtd_regex | |
Data Fields inherited from HTMLPurifier_ChildDef | |
$type | |
$allow_empty | |
$elements = array() | |
Protected Member Functions | |
_compileRegex () | |
Custom validation class, accepts DTD child definitions
__construct | ( | $dtd_regex | ) |
$dtd_regex | Allowed child pattern from the DTD |
|
protected |
Compiles the PCRE regex from a DTD regex ($dtd_regex to $_pcre_regex)
validateChildren | ( | $children, | |
$config, | |||
$context | |||
) |
HTMLPurifier_Node[] | $children | |
HTMLPurifier_Config | $config | |
HTMLPurifier_Context | $context |
Reimplemented from HTMLPurifier_ChildDef.
$allow_empty = false |
@type bool
$dtd_regex |
Allowed child pattern as defined by the DTD. @type string
$type = 'custom' |
@type string