extends |
HTMLPurifier_ChildDef_Required |
---|
Definition that allows a set of elements, and allows no children.
Methods | ||||||||
---|---|---|---|---|---|---|---|---|
public
|
validateChildren(array $children, HTMLPurifier_Config $config, HTMLPurifier_Context $context): array
Validates nodes according to definition and returns modification.
Validates nodes according to definition and returns modification. Parameters
Returnstrue to leave nodes as is, false to remove parent node, array of replacement children Overrides |
# |
Methods inherited from HTMLPurifier_ChildDef_Required |
---|
__construct(), |
Methods inherited from HTMLPurifier_ChildDef |
---|
getAllowedElements(), |
Properties | |||
---|---|---|---|
public
|
|
$allow_empty = true
|
# |
public
|
|
$type = 'optional'
|
# |
Properties inherited from HTMLPurifier_ChildDef_Required |
---|
$elements, $whitespace, |