Class HTMLPurifier_ChildDef_Empty

InheritanceHTMLPurifier_ChildDef_Empty » HTMLPurifier_ChildDef

Definition that disallows all elements.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$allow_empty HTMLPurifier_ChildDef_Empty
$elements Lookup array of all elements that this definition could possibly allow. HTMLPurifier_ChildDef
$type HTMLPurifier_ChildDef_Empty

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() HTMLPurifier_ChildDef_Empty
getAllowedElements() Get lookup of tag names that should not close this element automatically. HTMLPurifier_ChildDef
validateChildren() HTMLPurifier_ChildDef_Empty

Property Details

$allow_empty public property
public $allow_empty true
$type public property
public $type 'empty'

Method Details

__construct() public method

public void __construct ( )
validateChildren() public method

public array validateChildren ( $children, $config, $context )
$children HTMLPurifier_Node[]
$config HTMLPurifier_Config
$context HTMLPurifier_Context