Class HTMLPurifier_ChildDef_Optional
Definition that allows a set of elements, and allows no children.
- HTMLPurifier_ChildDef
- HTMLPurifier_ChildDef_Required
- HTMLPurifier_ChildDef_Optional
Note:
This is a hack to reuse code from HTMLPurifier_ChildDef_Required, really, one
shouldn't inherit from the other. Only altered behavior is to overload a
returned false with an array. Thus, it will never return false.
Located at x2engine/framework/vendors/htmlpurifier/HTMLPurifier.standalone.php
Located at x2engine/framework/vendors/htmlpurifier/HTMLPurifier.standalone.php
public
array
|
__construct()
|
getAllowedElements()
|
public
boolean
|
$allow_empty | true |
|
public
string
|
$type | 'optional' |
$elements,
$whitespace
|