extends |
HTMLPurifier_ChildDef |
---|
Definition that disallows all elements.
Methods | ||||||||
---|---|---|---|---|---|---|---|---|
public
|
__construct()
|
# | ||||||
public
|
validateChildren(HTMLPurifier_Node[] $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 Implements |
# |
Methods inherited from HTMLPurifier_ChildDef |
---|
getAllowedElements(), |
Properties | |||
---|---|---|---|
public
|
|
$allow_empty = true
|
# |
public
|
|
$type = 'empty'
|
# |
Properties inherited from HTMLPurifier_ChildDef |
---|
$elements |