HTMLPurifier 4.4.0
|
Abstract class of a tag token (start, end or empty), and its behavior. More...
Public Member Functions | |
__construct ($name, $attr=array(), $line=null, $col=null, $armor=array()) | |
Non-overloaded constructor, which lower-cases passed tag name. | |
__construct ($name, $attr=array(), $line=null, $col=null, $armor=array()) | |
Non-overloaded constructor, which lower-cases passed tag name. | |
Public Attributes | |
$is_tag = true | |
Static bool marker that indicates the class is a tag. | |
$name | |
The lower-case name of the tag, like 'a', 'b' or 'blockquote'. | |
$attr = array() | |
Associative array of the tag's attributes. |
Abstract class of a tag token (start, end or empty), and its behavior.
HTMLPurifier_Token_Tag::__construct | ( | $ | name, |
$ | attr = array() , |
||
$ | line = null , |
||
$ | col = null , |
||
$ | armor = array() |
||
) |
Non-overloaded constructor, which lower-cases passed tag name.
$name | String name. |
$attr | Associative array of attributes. |
Definition at line 36 of file Tag.php.
References HTMLPurifier_Token::$armor, $attr, HTMLPurifier_Token::$col, HTMLPurifier_Token::$line, and $name.
HTMLPurifier_Token_Tag::__construct | ( | $ | name, |
$ | attr = array() , |
||
$ | line = null , |
||
$ | col = null , |
||
$ | armor = array() |
||
) |
Non-overloaded constructor, which lower-cases passed tag name.
$name | String name. |
$attr | Associative array of attributes. |
Definition at line 16743 of file HTMLPurifier.standalone.php.
References HTMLPurifier_Token::$armor, $attr, HTMLPurifier_Token::$col, HTMLPurifier_Token::$line, and $name.
HTMLPurifier_Token_Tag::$attr = array() |
Associative array of the tag's attributes.
Definition at line 28 of file Tag.php.
Referenced by __construct().
HTMLPurifier_Token_Tag::$is_tag = true |
HTMLPurifier_Token_Tag::$name |
The lower-case name of the tag, like 'a', 'b' or 'blockquote'.
Definition at line 23 of file Tag.php.
Referenced by __construct().