PHP Class HTMLPurifier_AttrDef_CSS_ImportantDecorator, yii

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

Public Properties

Property Type Description
$allow
$def

Public Methods

Method Description
__construct ( HTMLPurifier_AttrDef $def, boolean $allow = false )
validate ( string $string, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : boolean | string Intercepts and removes !important if necessary

Method Details

__construct() public method

public __construct ( HTMLPurifier_AttrDef $def, boolean $allow = false )
$def HTMLPurifier_AttrDef Definition to wrap
$allow boolean Whether or not to allow !important

validate() public method

Intercepts and removes !important if necessary
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

$allow public_oe property

public $allow

$def public_oe property

public $def