Class HTMLPurifier_Node_Element

InheritanceHTMLPurifier_Node_Element » HTMLPurifier_Node

Concrete element node class.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$armor Lookup array of processing that this token is exempt from. HTMLPurifier_Node
$attr Associative array of the node's attributes. HTMLPurifier_Node_Element
$children List of child elements. HTMLPurifier_Node_Element
$col Column number of the start token in the source document. Null if unknown. HTMLPurifier_Node
$dead When true, this node should be ignored as non-existent. HTMLPurifier_Node
$empty Does this use the form or the form, i.e. HTMLPurifier_Node_Element
$endArmor HTMLPurifier_Node_Element
$endCol HTMLPurifier_Node_Element
$endLine HTMLPurifier_Node_Element
$line Line number of the start token in the source document HTMLPurifier_Node
$name The lower-case name of the tag, like 'a', 'b' or 'blockquote'. HTMLPurifier_Node_Element

Property Details

$attr public property
public $attr = []
$children public property
public $children = []
$empty public property

is it a pair of start/end tokens or an empty token.

public $empty false
$endArmor public property
public $endArmor = []
$endCol public property
public $endCol null
$endLine public property
public $endLine null
$name public property
public $name null

Method Details

__construct() public method

public void __construct ( $name, $attr = [], $line null, $col null, $armor = [] )
$name
$attr
$line
$col
$armor
toTokenPair() public method

public void toTokenPair ( )