API - XOOPS 2.5.11 Beta 2
By monxoops.fr
HTMLPurifier_AttrDef_HTML_MultiLength Class Reference
Inheritance diagram for HTMLPurifier_AttrDef_HTML_MultiLength:
Collaboration diagram for HTMLPurifier_AttrDef_HTML_MultiLength:

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

Validates a MultiLength as defined by the HTML spec.

A multilength is either a integer (pixel count), a percentage, or a relative number.

Member Function Documentation

◆ validate()

validate (   $string,
  $config,
  $context 
)
Parameters
string$string
HTMLPurifier_Config$config
HTMLPurifier_Context$context
Returns
bool|string

Reimplemented from HTMLPurifier_AttrDef_HTML_Length.


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