|
| $allow_empty = false |
| @type bool
|
|
| $dtd_regex |
| Allowed child pattern as defined by the DTD.
|
|
| $elements = array() |
| Lookup array of all elements that this definition could possibly allow.
|
|
| $type = 'custom' |
| @type string
|
|
|
| _compileRegex () |
| Compiles the PCRE regex from a DTD regex ($dtd_regex to $_pcre_regex)
|
|
◆ __construct()
HTMLPurifier_ChildDef_Custom::__construct |
( |
| $dtd_regex | ) |
|
- Parameters
-
$dtd_regex | Allowed child pattern from the DTD |
◆ getAllowedElements()
HTMLPurifier_ChildDef::getAllowedElements |
( |
| $config | ) |
|
|
inherited |
◆ validateChildren()
HTMLPurifier_ChildDef_Custom::validateChildren |
( |
| $children, |
|
|
| $config, |
|
|
| $context ) |
◆ $dtd_regex
HTMLPurifier_ChildDef_Custom::$dtd_regex |
Allowed child pattern as defined by the DTD.
@type string
◆ $elements
HTMLPurifier_ChildDef::$elements = array() |
|
inherited |
Lookup array of all elements that this definition could possibly allow.
@type array
The documentation for this class was generated from the following file:
- lib/htmlpurifier/HTMLPurifier/ChildDef/Custom.php