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

Public Member Functions

 validate ($string, $config, $context)
 
- Public Member Functions inherited from HTMLPurifier_AttrDef_HTML_Pixels
 __construct ($max=null)
 
 make ($string)
 
 validate ($string, $config, $context)
 
- Public Member Functions inherited from HTMLPurifier_AttrDef
 make ($string)
 
 parseCDATA ($string)
 
 validate ($string, $config, $context)
 

Additional Inherited Members

- Public Attributes inherited from HTMLPurifier_AttrDef
 $minimized = false
 
 $required = false
 
- Protected Member Functions inherited from HTMLPurifier_AttrDef
 expandCSSEscape ($string)
 
 mungeRgb ($string)
 
- Protected Attributes inherited from HTMLPurifier_AttrDef_HTML_Pixels
 $max
 

Detailed Description

Validates the HTML type length (not to be confused with CSS's length).

This accepts integer pixels or percentages as lengths for certain HTML attributes.

Definition at line 10 of file Length.php.

Member Function Documentation

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

Definition at line 13 of file Length.php.

References $config.


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