|
Cheetah
|
Public Member Functions | |
| __construct ($dtd_regex) | |
| validateChildren ($children, $config, $context) | |
Public Member Functions inherited from HTMLPurifier_ChildDef | |
| getAllowedElements ($config) | |
Public Attributes | |
| $type = 'custom' | |
| $allow_empty = false | |
| $dtd_regex | |
Public Attributes inherited from HTMLPurifier_ChildDef | |
| $type | |
| $allow_empty | |
| $elements = array() | |
Protected Member Functions | |
| _compileRegex () | |
Custom validation class, accepts DTD child definitions
Definition at line 14595 of file HTMLPurifier.standalone.php.
| HTMLPurifier_ChildDef_Custom::__construct | ( | $dtd_regex | ) |
| $dtd_regex | Allowed child pattern from the DTD |
Definition at line 14622 of file HTMLPurifier.standalone.php.
|
protected |
Compiles the PCRE regex from a DTD regex ($dtd_regex to $_pcre_regex)
Definition at line 14631 of file HTMLPurifier.standalone.php.
| HTMLPurifier_ChildDef_Custom::validateChildren | ( | $children, | |
| $config, | |||
| $context | |||
| ) |
| HTMLPurifier_Node[] | $children | |
| HTMLPurifier_Config | $config | |
| HTMLPurifier_Context | $context |
Reimplemented from HTMLPurifier_ChildDef.
Definition at line 14667 of file HTMLPurifier.standalone.php.
| HTMLPurifier_ChildDef_Custom::$allow_empty = false |
@type bool
Definition at line 14605 of file HTMLPurifier.standalone.php.
| HTMLPurifier_ChildDef_Custom::$dtd_regex |
Allowed child pattern as defined by the DTD. @type string
Definition at line 14611 of file HTMLPurifier.standalone.php.
| HTMLPurifier_ChildDef_Custom::$type = 'custom' |
@type string
Definition at line 14600 of file HTMLPurifier.standalone.php.