PHP Class HTMLPurifier_ChildDef_Custom, yii

Inheritance: extends HTMLPurifier_ChildDef
Afficher le fichier Open project: yiisoft/yii

Méthodes publiques

Свойство Type Description
$allow_empty
$dtd_regex Allowed child pattern as defined by the DTD.
$type

Méthodes publiques

Méthode Description
__construct ( $dtd_regex )
validateChildren ( HTMLPurifier_Node[] $children, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : boolean

Méthodes protégées

Méthode Description
_compileRegex ( ) Compiles the PCRE regex from a DTD regex ($dtd_regex to $_pcre_regex)

Method Details

__construct() public méthode

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

_compileRegex() protected méthode

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

validateChildren() public méthode

public validateChildren ( HTMLPurifier_Node[] $children, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : boolean
$children HTMLPurifier_Node[]
$config HTMLPurifier_Config
$context HTMLPurifier_Context
Résultat boolean

Property Details

$allow_empty public_oe property

public $allow_empty

$dtd_regex public_oe property

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

$type public_oe property

public $type