Class HTMLPurifier_ChildDef_Custom
Custom validation class, accepts DTD child definitions
- HTMLPurifier_ChildDef
- HTMLPurifier_ChildDef_Custom
Warning:
Currently this class is an all or nothing proposition, that is, it will only
give a bool return value.
Located at x2engine/framework/vendors/htmlpurifier/HTMLPurifier.standalone.php
Located at x2engine/framework/vendors/htmlpurifier/HTMLPurifier.standalone.php
public
|
|
protected
|
|
public
boolean
|
#
validateChildren(
|
getAllowedElements()
|
public
string
|
$type | 'custom' |
|
public
boolean
|
$allow_empty | false |
|
public
mixed
|
$dtd_regex |
|
#
Allowed child pattern as defined by the DTD. |
$elements
|