HTMLPurifier_Token
in package
AbstractYes
Abstract base token class that all others inherit from.
Table of Contents
Properties
- $armor : mixed
- Lookup array of processing that this token is exempt from.
- $carryover : mixed
- $col : mixed
- Column of line node was on in source document. Null if unknown.
- $line : mixed
- Line number node was on in source document. Null if unknown.
- $rewind : mixed
- $skip : mixed
- Used during MakeWellFormed. See Note [Injector skips]
Methods
- __get() : null|string
- position() : mixed
- Sets the position of the token in the source document.
- rawPosition() : mixed
- Convenience function for DirectLex settings line/col position.
- toNode() : mixed
- Converts a token into its corresponding node.
Properties
$armor
Lookup array of processing that this token is exempt from.
public
mixed
$armor
= array()
Currently, valid values are "ValidateAttributes" and "MakeWellFormed_TagClosedError"
Tags
$carryover
public
mixed
$carryover
Tags
$col
Column of line node was on in source document. Null if unknown.
public
mixed
$col
Tags
$line
Line number node was on in source document. Null if unknown.
public
mixed
$line
Tags
$rewind
public
mixed
$rewind
Tags
$skip
Used during MakeWellFormed. See Note [Injector skips]
public
mixed
$skip
Tags
Methods
__get()
public
__get(string $n) : null|string
Parameters
- $n : string
Return values
null|stringposition()
Sets the position of the token in the source document.
public
position([int $l = null ][, int $c = null ]) : mixed
Parameters
- $l : int = null
- $c : int = null
rawPosition()
Convenience function for DirectLex settings line/col position.
public
rawPosition(int $l, int $c) : mixed
Parameters
- $l : int
- $c : int
toNode()
Converts a token into its corresponding node.
public
abstract toNode() : mixed