PHP Класс HTMLPurifier_ChildDef_Custom, yii

Наследование: extends HTMLPurifier_ChildDef
Показать файл Открыть проект

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

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