XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
HTMLPurifier_AttrDef_CSS_ImportantDecorator Class Reference
Inheritance diagram for HTMLPurifier_AttrDef_CSS_ImportantDecorator:
Inheritance graph

Public Member Functions

 __construct ($def, $allow=false)
 
 validate ($string, $config, $context)
 
- Public Member Functions inherited from HTMLPurifier_AttrDef
 make ($string)
 
 parseCDATA ($string)
 
 validate ($string, $config, $context)
 

Public Attributes

 $allow
 
 $def
 
- Public Attributes inherited from HTMLPurifier_AttrDef
 $minimized = false
 
 $required = false
 

Additional Inherited Members

- Protected Member Functions inherited from HTMLPurifier_AttrDef
 expandCSSEscape ($string)
 
 mungeRgb ($string)
 

Detailed Description

Decorator which enables !important to be used in CSS values.

Definition at line 6 of file ImportantDecorator.php.

Constructor & Destructor Documentation

HTMLPurifier_AttrDef_CSS_ImportantDecorator::__construct (   $def,
  $allow = false 
)
Parameters
$defDefinition to wrap
$allowWhether or not to allow !important

Definition at line 14 of file ImportantDecorator.php.

References $allow, and $def.

Member Function Documentation

HTMLPurifier_AttrDef_CSS_ImportantDecorator::validate (   $string,
  $config,
  $context 
)

Intercepts and removes !important if necessary

Definition at line 21 of file ImportantDecorator.php.

References $config.

Member Data Documentation

HTMLPurifier_AttrDef_CSS_ImportantDecorator::$allow

Definition at line 8 of file ImportantDecorator.php.

Referenced by __construct().

HTMLPurifier_AttrDef_CSS_ImportantDecorator::$def

Definition at line 8 of file ImportantDecorator.php.

Referenced by __construct().


The documentation for this class was generated from the following file: