Cheetah
All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Protected Attributes | List of all members
HTMLPurifier_AttrDef_CSS_Length Class Reference
Inheritance diagram for HTMLPurifier_AttrDef_CSS_Length:
HTMLPurifier_AttrDef

Public Member Functions

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

Protected Attributes

 $min
 
 $max
 

Additional Inherited Members

- Public Attributes 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.

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

Constructor & Destructor Documentation

◆ __construct()

HTMLPurifier_AttrDef_CSS_Length::__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.

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

Member Function Documentation

◆ validate()

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

Reimplemented from HTMLPurifier_AttrDef.

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

Member Data Documentation

◆ $max

HTMLPurifier_AttrDef_CSS_Length::$max
protected

@type HTMLPurifier_Length|string

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

◆ $min

HTMLPurifier_AttrDef_CSS_Length::$min
protected

@type HTMLPurifier_Length|string

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


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