Public Member Functions | ||||
| __construct ($dtd_regex) | ||||
| ||||
| validateChildren ($tokens_of_children, $config, $context) | ||||
| __construct ($dtd_regex) | ||||
| ||||
| validateChildren ($tokens_of_children, $config, $context) | ||||
Public Attributes | ||||
| $type = 'custom' | ||||
| $allow_empty = false | ||||
| $dtd_regex | ||||
| Allowed child pattern as defined by the DTD. | ||||
Protected Member Functions | ||||
| _compileRegex () | ||||
| Compiles the PCRE regex from a DTD regex ($dtd_regex to $_pcre_regex). | ||||
| _compileRegex () | ||||
| Compiles the PCRE regex from a DTD regex ($dtd_regex to $_pcre_regex). | ||||
Private Attributes | ||||
| $_pcre_regex | ||||
| PCRE regex derived from $dtd_regex. | ||||
Definition at line 11 of file Custom.php.
| HTMLPurifier_ChildDef_Custom::__construct | ( | $ | dtd_regex | ) |
| $dtd_regex | Allowed child pattern from the DTD |
Definition at line 27 of file Custom.php.
References $dtd_regex, and _compileRegex().
| HTMLPurifier_ChildDef_Custom::__construct | ( | $ | dtd_regex | ) |
| $dtd_regex | Allowed child pattern from the DTD |
Definition at line 9617 of file HTMLPurifier.standalone.php.
| HTMLPurifier_ChildDef_Custom::_compileRegex | ( | ) | [protected] |
Compiles the PCRE regex from a DTD regex ($dtd_regex to $_pcre_regex).
Definition at line 34 of file Custom.php.
Referenced by __construct().
| HTMLPurifier_ChildDef_Custom::validateChildren | ( | $ | tokens_of_children, | |
| $ | config, | |||
| $ | context | |||
| ) |
Definition at line 62 of file Custom.php.
| HTMLPurifier_ChildDef_Custom::_compileRegex | ( | ) | [protected] |
Compiles the PCRE regex from a DTD regex ($dtd_regex to $_pcre_regex).
Definition at line 9624 of file HTMLPurifier.standalone.php.
| HTMLPurifier_ChildDef_Custom::validateChildren | ( | $ | tokens_of_children, | |
| $ | config, | |||
| $ | context | |||
| ) |
Definition at line 9652 of file HTMLPurifier.standalone.php.
| HTMLPurifier_ChildDef_Custom::$type = 'custom' |
Definition at line 13 of file Custom.php.
| HTMLPurifier_ChildDef_Custom::$allow_empty = false |
Definition at line 14 of file Custom.php.
| HTMLPurifier_ChildDef_Custom::$dtd_regex |
Allowed child pattern as defined by the DTD.
Definition at line 18 of file Custom.php.
Referenced by __construct().
HTMLPurifier_ChildDef_Custom::$_pcre_regex [private] |
1.5.3