Class HTMLPurifier_AttrDef_HTML_Pixels

Description

Validates an integer representation of pixels according to the HTML spec.

Validates an integer representation of pixels according to the HTML spec.

Located in /library/HTMLPurifier/AttrDef/HTML/Pixels.php (line 6)

HTMLPurifier_AttrDef
   |
   --HTMLPurifier_AttrDef_HTML_Pixels
Direct descendents
Class Description
HTMLPurifier_AttrDef_HTML_Length Validates the HTML type length (not to be confused with CSS's length).
Variable Summary
mixed $max
Method Summary
HTMLPurifier_AttrDef_HTML_Pixels __construct ([ $max = null])
void make ( $string)
void validate ( $string,  $config,  $context)
Variables
mixed $max (line 9)
  • access: protected

Inherited Variables

Inherited from HTMLPurifier_AttrDef

HTMLPurifier_AttrDef::$minimized
HTMLPurifier_AttrDef::$required
Methods
Constructor __construct (line 11)
  • access: public
HTMLPurifier_AttrDef_HTML_Pixels __construct ([ $max = null])
  • $max
make (line 39)
  • access: public
void make ( $string)
  • $string

Redefinition of:
HTMLPurifier_AttrDef::make()
Factory method for creating this class from a string.
validate (line 15)
  • access: public
void validate ( $string,  $config,  $context)
  • $string
  • $config
  • $context

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

Redefined in descendants as:

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:50:12 -0400 by phpDocumentor 1.4.2