PHP Class HTMLPurifier_Token, yii

显示文件 Open project: yiisoft/yii

Public Properties

Property Type Description
$armor Currently, valid values are "ValidateAttributes" and "MakeWellFormed_TagClosedError"
$carryover
$col Column of line node was on in source document. Null if unknown.
$line Line number node was on in source document. Null if unknown.
$rewind
$skip Used during MakeWellFormed.

Public Methods

Method Description
__get ( string $n ) : null | string
position ( integer $l = null, integer $c = null ) Sets the position of the token in the source document.
rawPosition ( integer $l, integer $c ) Convenience function for DirectLex settings line/col position.
toNode ( ) Converts a token into its corresponding node.

Method Details

__get() public method

public __get ( string $n ) : null | string
$n string
return null | string

position() public method

Sets the position of the token in the source document.
public position ( integer $l = null, integer $c = null )
$l integer
$c integer

rawPosition() public method

Convenience function for DirectLex settings line/col position.
public rawPosition ( integer $l, integer $c )
$l integer
$c integer

toNode() abstract public method

Converts a token into its corresponding node.
abstract public toNode ( )

Property Details

$armor public_oe property

Currently, valid values are "ValidateAttributes" and "MakeWellFormed_TagClosedError"
public $armor

$carryover public_oe property

public $carryover

$col public_oe property

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

$line public_oe property

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

$rewind public_oe property

public $rewind

$skip public_oe property

Used during MakeWellFormed.
public $skip