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.
파일 보기 프로젝트 열기: yiisoft/yii

공개 프로퍼티들

프로퍼티 타입 설명
$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