HTMLPurifier_AttrDef_CSS_Percentage Class Reference

Validates a Percentage as defined by the CSS spec. More...

List of all members.

Public Member Functions

 __construct ($non_negative=false)
 
Parameters:
Bool indicating whether to forbid negative values

 validate ($string, $config, $context)
 __construct ($non_negative=false)
 
Parameters:
Bool indicating whether to forbid negative values

 validate ($string, $config, $context)

Protected Attributes

 $number_def
 Instance of HTMLPurifier_AttrDef_CSS_Number to defer number validation.


Detailed Description

Validates a Percentage as defined by the CSS spec.

Definition at line 6 of file Percentage.php.


Constructor & Destructor Documentation

HTMLPurifier_AttrDef_CSS_Percentage::__construct ( non_negative = false  ) 

Parameters:
Bool indicating whether to forbid negative values

Definition at line 17 of file Percentage.php.

HTMLPurifier_AttrDef_CSS_Percentage::__construct ( non_negative = false  ) 

Parameters:
Bool indicating whether to forbid negative values

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


Member Function Documentation

HTMLPurifier_AttrDef_CSS_Percentage::validate ( string,
config,
context 
)

Definition at line 21 of file Percentage.php.

HTMLPurifier_AttrDef_CSS_Percentage::validate ( string,
config,
context 
)

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


Member Data Documentation

HTMLPurifier_AttrDef_CSS_Percentage::$number_def [protected]

Instance of HTMLPurifier_AttrDef_CSS_Number to defer number validation.

Definition at line 12 of file Percentage.php.


The documentation for this class was generated from the following files:
Generated on Thu Jun 19 18:47:28 2008 for HTMLPurifier by  doxygen 1.5.3