PHP Class HTMLPurifier_Node, yii

Why do we not use the DOM extension? (1) It is not always available, (2) it has funny constraints on the data it can represent, whereas we want a maximally flexible representation, and (3) its interface is a bit cumbersome.
显示文件 Open project: yiisoft/yii

Public Properties

Property Type Description
$armor Currently, valid values are "ValidateAttributes".
$col Column number of the start token in the source document. Null if unknown.
$dead Who is responsible for ignoring dead nodes? FixNesting is responsible for removing them before passing on to child validators.
$line Line number of the start token in the source document

Public Methods

Method Description
toTokenPair ( ) Returns a pair of start and end tokens, where the end token is null if it is not necessary. Does not include children.

Method Details

toTokenPair() abstract public method

Returns a pair of start and end tokens, where the end token is null if it is not necessary. Does not include children.
abstract public toTokenPair ( )

Property Details

$armor public_oe property

Currently, valid values are "ValidateAttributes".
public $armor

$col public_oe property

Column number of the start token in the source document. Null if unknown.
public $col

$dead public_oe property

Who is responsible for ignoring dead nodes? FixNesting is responsible for removing them before passing on to child validators.
public $dead

$line public_oe property

Line number of the start token in the source document
public $line