Skip to content

HTMLPurifier_Token_End

Concrete end token class.

Properties

start

Token that started this node.

public $start

Added by MakeWellFormed. Please do not edit this!


Methods

toNode

Converts a token into its corresponding node.

public toNode(): mixed

Inherited methods

__get

public __get(string $n): null|string

Parameters:

Parameter Type Description
$n string

position

Sets the position of the token in the source document.

public position(int $l = null, int $c = null): mixed

Parameters:

Parameter Type Description
$l int
$c int

rawPosition

Convenience function for DirectLex settings line/col position.

public rawPosition(int $l, int $c): mixed

Parameters:

Parameter Type Description
$l int
$c int

toNode

Converts a token into its corresponding node.

public toNode(): mixed

__construct

Non-overloaded constructor, which lower-cases passed tag name.

public __construct(string $name, array $attr = array(), int $line = null, int $col = null, array $armor = array()): mixed

Parameters:

Parameter Type Description
$name string String name.
$attr array Associative array of attributes.
$line int
$col int
$armor array


Automatically generated on 2025-03-18