PHP Class HTMLPurifier_AttrDef_CSS_DenyElementDecorator, yii

Inheritance: extends HTMLPurifier_AttrDef
Mostrar archivo Open project: yiisoft/yii

Public Properties

Property Type Description
$def
$element

Public Methods

Method 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 method

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

validate() public method

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
return boolean | string

Property Details

$def public_oe property

public $def

$element public_oe property

public $element