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.
Show file
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.
Property Details
Currently, valid values are "ValidateAttributes".
Column number of the start token in the source document. Null if unknown.
Who is responsible for ignoring dead nodes? FixNesting is
responsible for removing them before passing on to child
validators.
Line number of the start token in the source document