HTMLPurifier 4.4.0
HTMLPurifier_AttrDef_CSS_TextDecoration Class Reference

Validates the value for the CSS property text-decoration. More...

Inheritance diagram for HTMLPurifier_AttrDef_CSS_TextDecoration:
HTMLPurifier_AttrDef HTMLPurifier_AttrDef

List of all members.

Public Member Functions

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

Detailed Description

Validates the value for the CSS property text-decoration.

Note:
This class could be generalized into a version that acts sort of like Enum except you can compound the allowed values.

Definition at line 8 of file TextDecoration.php.


Member Function Documentation

HTMLPurifier_AttrDef_CSS_TextDecoration::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 11 of file TextDecoration.php.

References HTMLPurifier_AttrDef::parseCDATA().

HTMLPurifier_AttrDef_CSS_TextDecoration::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 9851 of file HTMLPurifier.standalone.php.

References HTMLPurifier_AttrDef::parseCDATA().


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