PHP 클래스 HTMLPurifier_ChildDef_Custom, yii

상속: extends HTMLPurifier_ChildDef
파일 보기 프로젝트 열기: yiisoft/yii

공개 프로퍼티들

프로퍼티 타입 설명
$allow_empty
$dtd_regex Allowed child pattern as defined by the DTD.
$type

공개 메소드들

메소드 설명
__construct ( $dtd_regex )
validateChildren ( HTMLPurifier_Node[] $children, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : boolean

보호된 메소드들

메소드 설명
_compileRegex ( ) Compiles the PCRE regex from a DTD regex ($dtd_regex to $_pcre_regex)

메소드 상세

__construct() 공개 메소드

public __construct ( $dtd_regex )
$dtd_regex Allowed child pattern from the DTD

_compileRegex() 보호된 메소드

Compiles the PCRE regex from a DTD regex ($dtd_regex to $_pcre_regex)
protected _compileRegex ( )

validateChildren() 공개 메소드

public validateChildren ( HTMLPurifier_Node[] $children, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : boolean
$children HTMLPurifier_Node[]
$config HTMLPurifier_Config
$context HTMLPurifier_Context
리턴 boolean

프로퍼티 상세

$allow_empty 공개적으로 프로퍼티

public $allow_empty

$dtd_regex 공개적으로 프로퍼티

Allowed child pattern as defined by the DTD.
public $dtd_regex

$type 공개적으로 프로퍼티

public $type