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

Public Member Functions

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

Protected Attributes

 $min
 
 $max
 

Additional Inherited Members

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

Detailed Description

Represents a Length as defined by CSS.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $min = null,
  $max = null 
)
Parameters
HTMLPurifier_Length | string$minMinimum length, or null for no bound. String is also acceptable.
HTMLPurifier_Length | string$maxMaximum length, or null for no bound. String is also acceptable.
Here is the call graph for this function:

Member Function Documentation

◆ validate()

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

Reimplemented from HTMLPurifier_AttrDef.

Here is the call graph for this function:

Field Documentation

◆ $max

$max
protected

@type HTMLPurifier_Length|string

◆ $min

$min
protected

@type HTMLPurifier_Length|string


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