프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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) |
public __construct ( $dtd_regex ) | ||
$dtd_regex | Allowed child pattern from the DTD |
protected _compileRegex ( ) |
public validateChildren ( HTMLPurifier_Node[] $children, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : boolean | ||
$children | HTMLPurifier_Node[] | |
$config | HTMLPurifier_Config | |
$context | HTMLPurifier_Context | |
리턴 | boolean |