PHP Класс 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.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$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

Открытые методы

Метод Описание
toTokenPair ( ) Returns a pair of start and end tokens, where the end token is null if it is not necessary. Does not include children.

Описание методов

toTokenPair() абстрактный публичный Метод

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 ( )

Описание свойств

$armor публичное свойство

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

$col публичное свойство

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

$dead публичное свойство

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

$line публичное свойство

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