HTMLPurifier_Node_Element
Concrete element node class.
- Full name:
\HTMLPurifier_Node_Element
- Parent class:
\HTMLPurifier_Node
Properties
name
The lower-case name of the tag, like 'a', 'b' or 'blockquote'.
attr
Associative array of the node's attributes.
children
List of child elements.
empty
Does this use the form or the form, i.e.
is it a pair of start/end tokens or an empty token.
endCol
endLine
endArmor
Methods
__construct
public __construct(mixed $name, mixed $attr = array(), mixed $line = null, mixed $col = null, mixed $armor = array()): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$name |
mixed | |
$attr |
mixed | |
$line |
mixed | |
$col |
mixed | |
$armor |
mixed |
toTokenPair
Returns a pair of start and end tokens, where the end token is null if it is not necessary. Does not include children.
Inherited methods
toTokenPair
Returns a pair of start and end tokens, where the end token is null if it is not necessary. Does not include children.
- This method is abstract.
Automatically generated on 2025-03-18