|
| __get ($n) |
|
| position ($l=null, $c=null) |
| Sets the position of the token in the source document.
|
|
| rawPosition ($l, $c) |
| Convenience function for DirectLex settings line/col position.
|
|
| toNode () |
| Converts a token into its corresponding node.
|
|
|
| $armor = array() |
| Lookup array of processing that this token is exempt from.
|
|
| $attr = array() |
| Associative array of the tag's attributes.
|
|
| $carryover |
| @type
|
|
| $col |
| Column of line node was on in source document.
|
|
| $is_tag = true |
| Static bool marker that indicates the class is a tag.
|
|
| $line |
| Line number node was on in source document.
|
|
| $name |
| The lower-case name of the tag, like 'a', 'b' or 'blockquote'.
|
|
| $rewind |
| @type
|
|
| $skip |
| Used during MakeWellFormed.
|
|
◆ __get()
HTMLPurifier_Token::__get |
( |
| $n | ) |
|
|
inherited |
◆ position()
HTMLPurifier_Token::position |
( |
| $l = null, |
|
|
| $c = null ) |
|
inherited |
Sets the position of the token in the source document.
- Parameters
-
◆ rawPosition()
HTMLPurifier_Token::rawPosition |
( |
| $l, |
|
|
| $c ) |
|
inherited |
Convenience function for DirectLex settings line/col position.
- Parameters
-
◆ toNode()
HTMLPurifier_Token_Empty::toNode |
( |
| ) |
|
◆ $armor
HTMLPurifier_Token::$armor = array() |
|
inherited |
Lookup array of processing that this token is exempt from.
Currently, valid values are "ValidateAttributes" and "MakeWellFormed_TagClosedError" @type array
◆ $attr
HTMLPurifier_Token_Tag::$attr = array() |
|
inherited |
Associative array of the tag's attributes.
@type array
◆ $col
Column of line node was on in source document.
Null if unknown. @type int
◆ $is_tag
HTMLPurifier_Token_Tag::$is_tag = true |
|
inherited |
Static bool marker that indicates the class is a tag.
This allows us to check objects with !empty($obj->is_tag)
without having to use a function call is_a()
. @type bool
◆ $line
HTMLPurifier_Token::$line |
|
inherited |
Line number node was on in source document.
Null if unknown. @type int
◆ $name
HTMLPurifier_Token_Tag::$name |
|
inherited |
The lower-case name of the tag, like 'a', 'b' or 'blockquote'.
- Note
- Strictly speaking, XML tags are case sensitive, so we shouldn't be lower-casing them, but these tokens cater to HTML tags, which are insensitive. @type string
◆ $skip
HTMLPurifier_Token::$skip |
|
inherited |
Used during MakeWellFormed.
See Note [Injector skips] @type
The documentation for this class was generated from the following file:
- lib/htmlpurifier/HTMLPurifier/Token/Empty.php