extends |
HTMLPurifier_Node |
---|
Concrete element node class.
Methods | ||
---|---|---|
public
|
__construct($name, $attr = [], $line = null, $col = null, $armor = [])
|
# |
public
|
toTokenPair()
Returns a pair of start and end tokens, where the end token
is null if it is not necessary. Does not include children.
Returns a pair of start and end tokens, where the end token is null if it is not necessary. Does not include children. Implements |
# |
Properties | |||
---|---|---|---|
public
|
|
$name
The lower-case name of the tag, like 'a', 'b' or 'blockquote'.
The lower-case name of the tag, like 'a', 'b' or 'blockquote'. |
# |
public
|
|
$attr = []
Associative array of the node's attributes.
Associative array of the node's attributes. |
# |
public
|
|
$children = []
List of child elements.
List of child elements. |
# |
public
|
|
$empty = false
Does this use the <a></a> form or the </a> form, i.e.
is it a pair of start/end tokens or an empty token.
|
# |
public
|
|
$endCol = null
|
# |
public
|
|
$endLine = null
|
# |
public
|
|
$endArmor = []
|
# |
Properties inherited from HTMLPurifier_Node |
---|
$line, $col, $armor, $dead |