|
| __construct ($data, $line=null, $col=null) |
| Transparent constructor.
|
|
| __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.
|
|
| $carryover |
| @type
|
|
| $col |
| Column of line node was on in source document.
|
|
| $data |
| Character data within comment.
|
|
| $is_whitespace = true |
| @type bool
|
|
| $line |
| Line number node was on in source document.
|
|
| $rewind |
| @type
|
|
| $skip |
| Used during MakeWellFormed.
|
|
◆ __construct()
HTMLPurifier_Token_Comment::__construct |
( |
| $data, |
|
|
| $line = null, |
|
|
| $col = null ) |
Transparent constructor.
- Parameters
-
string | $data | String comment data. |
int | $line | |
int | $col | |
◆ __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_Comment::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
◆ $col
Column of line node was on in source document.
Null if unknown. @type int
◆ $data
HTMLPurifier_Token_Comment::$data |
Character data within comment.
@type string
◆ $line
HTMLPurifier_Token::$line |
|
inherited |
Line number node was on in source document.
Null if unknown. @type int
◆ $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/Comment.php