PHP Class HTMLPurifier_AttrDef_CSS_DenyElementDecorator, yii

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

Méthodes publiques

Свойство Type Description
$def
$element

Méthodes publiques

Méthode Description
__construct ( HTMLPurifier_AttrDef $def, string $element )
validate ( string $string, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : boolean | string Checks if CurrentToken is set and equal to $this->element

Method Details

__construct() public méthode

public __construct ( HTMLPurifier_AttrDef $def, string $element )
$def HTMLPurifier_AttrDef Definition to wrap
$element string Element to deny

validate() public méthode

Checks if CurrentToken is set and equal to $this->element
public validate ( string $string, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : boolean | string
$string string
$config HTMLPurifier_Config
$context HTMLPurifier_Context
Résultat boolean | string

Property Details

$def public_oe property

public $def

$element public_oe property

public $element