Class HTMLPurifier_AttrDef_CSS_Length

Description

Represents a Length as defined by CSS.

Represents a Length as defined by CSS.

Located in /library/HTMLPurifier/AttrDef/CSS/Length.php (line 6)

HTMLPurifier_AttrDef
   |
   --HTMLPurifier_AttrDef_CSS_Length
Variable Summary
mixed $max
mixed $min
Method Summary
HTMLPurifier_AttrDef_CSS_Length __construct ([ $min = null], [HTMLPurifier_Length $max = null])
void validate ( $string,  $config,  $context)
Variables
mixed $max (line 9)
  • access: protected
mixed $min (line 9)
  • access: protected

Inherited Variables

Inherited from HTMLPurifier_AttrDef

HTMLPurifier_AttrDef::$minimized
HTMLPurifier_AttrDef::$required
Methods
Constructor __construct (line 15)
  • access: public
HTMLPurifier_AttrDef_CSS_Length __construct ([ $min = null], [HTMLPurifier_Length $max = null])
  • HTMLPurifier_Length $max: Maximum length, or null for no bound. String is also acceptable.
  • $min
validate (line 20)
  • access: public
void validate ( $string,  $config,  $context)
  • $string
  • $config
  • $context

Redefinition of:
HTMLPurifier_AttrDef::validate()
Validates and cleans passed string according to a definition.

Inherited Methods

Inherited From HTMLPurifier_AttrDef

HTMLPurifier_AttrDef::make()
HTMLPurifier_AttrDef::mungeRgb()
HTMLPurifier_AttrDef::parseCDATA()
HTMLPurifier_AttrDef::validate()

Documentation generated on Thu, 19 Jun 2008 18:49:43 -0400 by phpDocumentor 1.4.2