HTMLPurifier 4.4.0
HTMLPurifier_AttrDef_CSS_Filter Class Reference

Microsoft's proprietary filter: CSS property. More...

Inheritance diagram for HTMLPurifier_AttrDef_CSS_Filter:
HTMLPurifier_AttrDef HTMLPurifier_AttrDef

List of all members.

Public Member Functions

 __construct ()
 validate ($value, $config, $context)
 Validates and cleans passed string according to a definition.
 __construct ()
 validate ($value, $config, $context)
 Validates and cleans passed string according to a definition.

Protected Attributes

 $intValidator

Detailed Description

Microsoft's proprietary filter: CSS property.

Note:
Currently supports the alpha filter. In the future, this will probably need an extensible framework

Definition at line 8 of file Filter.php.


Constructor & Destructor Documentation

HTMLPurifier_AttrDef_CSS_Filter::__construct ( )

Definition at line 13 of file Filter.php.

HTMLPurifier_AttrDef_CSS_Filter::__construct ( )

Definition at line 9157 of file HTMLPurifier.standalone.php.


Member Function Documentation

HTMLPurifier_AttrDef_CSS_Filter::validate ( string,
config,
context 
)

Validates and cleans passed string according to a definition.

Parameters:
$stringString to be validated and cleaned.
$configMandatory HTMLPurifier_Config object.
$contextMandatory HTMLPurifier_AttrContext object.

Reimplemented from HTMLPurifier_AttrDef.

Definition at line 17 of file Filter.php.

References $config, and HTMLPurifier_AttrDef::parseCDATA().

HTMLPurifier_AttrDef_CSS_Filter::validate ( string,
config,
context 
)

Validates and cleans passed string according to a definition.

Parameters:
$stringString to be validated and cleaned.
$configMandatory HTMLPurifier_Config object.
$contextMandatory HTMLPurifier_AttrContext object.

Reimplemented from HTMLPurifier_AttrDef.

Definition at line 9161 of file HTMLPurifier.standalone.php.

References $config, and HTMLPurifier_AttrDef::parseCDATA().


Member Data Documentation

HTMLPurifier_AttrDef_CSS_Filter::$intValidator [protected]

Definition at line 11 of file Filter.php.


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