ILIAS  release_4-4 Revision
All Data Structures Namespaces Files Functions Variables Modules Pages
HTMLPurifier_Token_Comment Class Reference

Concrete comment token class. More...

+ Inheritance diagram for HTMLPurifier_Token_Comment:
+ Collaboration diagram for HTMLPurifier_Token_Comment:

Public Member Functions

 __construct ($data, $line=null, $col=null)
 Transparent constructor. More...
 
- Public Member Functions inherited from HTMLPurifier_Token
 __get ($n)
 
 position ($l=null, $c=null)
 Sets the position of the token in the source document. More...
 
 rawPosition ($l, $c)
 Convenience function for DirectLex settings line/col position. More...
 

Data Fields

 $data
 Character data within comment. More...
 
 $is_whitespace = true
 
- Data Fields inherited from HTMLPurifier_Token
 $line
 Line number node was on in source document. More...
 
 $col
 Column of line node was on in source document. More...
 
 $armor = array()
 Lookup array of processing that this token is exempt from. More...
 
 $skip
 Used during MakeWellFormed. More...
 
 $rewind
 
 $carryover
 

Detailed Description

Concrete comment token class.

Generally will be ignored.

Definition at line 6 of file Comment.php.

Constructor & Destructor Documentation

◆ __construct()

HTMLPurifier_Token_Comment::__construct (   $data,
  $line = null,
  $col = null 
)

Transparent constructor.

Parameters
$dataString comment data.

Definition at line 15 of file Comment.php.

References HTMLPurifier_Token\$col, $data, and HTMLPurifier_Token\$line.

15  {
16  $this->data = $data;
17  $this->line = $line;
18  $this->col = $col;
19  }
$line
Line number node was on in source document.
Definition: Token.php:7
$data
Character data within comment.
Definition: Comment.php:8
$col
Column of line node was on in source document.
Definition: Token.php:8

Field Documentation

◆ $data

HTMLPurifier_Token_Comment::$data

Character data within comment.

Definition at line 8 of file Comment.php.

Referenced by __construct().

◆ $is_whitespace

HTMLPurifier_Token_Comment::$is_whitespace = true

Definition at line 9 of file Comment.php.


The documentation for this class was generated from the following file: