Moodle  2.2.1
http://www.collinsharper.com
HTMLPurifier_Token Class Reference
Inheritance diagram for HTMLPurifier_Token:

Public Member Functions

 __get ($n)
 position ($l=null, $c=null)
 rawPosition ($l, $c)

Data Fields

 $line
 $col
 $armor = array()
 $skip
 $rewind
 $carryover

Detailed Description

Abstract base token class that all others inherit from.

Definition at line 6 of file Token.php.


Member Function Documentation

__get ( n)

Definition at line 24 of file Token.php.

position ( l = null,
c = null 
)

Sets the position of the token in the source document.

Definition at line 41 of file Token.php.

rawPosition ( l,
c 
)

Convenience function for DirectLex settings line/col position.

Definition at line 49 of file Token.php.


Field Documentation

$armor = array()

Lookup array of processing that this token is exempt from. Currently, valid values are "ValidateAttributes" and "MakeWellFormed_TagClosedError"

Definition at line 15 of file Token.php.

$carryover

Definition at line 22 of file Token.php.

$col

Column of line node was on in source document. Null if unknown.

Definition at line 8 of file Token.php.

$line

Line number node was on in source document. Null if unknown.

Definition at line 7 of file Token.php.

$rewind

Definition at line 21 of file Token.php.

$skip

Used during MakeWellFormed.

Definition at line 20 of file Token.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations