PHP Class HTMLPurifier_AttrDef_CSS_ImportantDecorator, yii

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

Méthodes publiques

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

Méthodes publiques

Méthode 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 méthode

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

validate() public méthode

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
Résultat boolean | string

Property Details

$allow public_oe property

public $allow

$def public_oe property

public $def