Class HTMLPurifier_AttrDef_URI

Description

Validates a URI as defined by RFC 3986.

Validates a URI as defined by RFC 3986.

Located in /library/HTMLPurifier/AttrDef/URI.php (line 7)

HTMLPurifier_AttrDef
   |
   --HTMLPurifier_AttrDef_URI
Direct descendents
Class Description
HTMLPurifier_AttrDef_CSS_URI Validates a URI in CSS syntax, which uses url('http://example.
Variable Summary
mixed $parser
Method Summary
HTMLPurifier_AttrDef_URI __construct ([$embeds_resource_resource $embeds_resource = false])
void make ( $string)
void validate ( $uri,  $config,  $context)
Variables
mixed $embedsResource (line 11)
  • access: protected
mixed $parser (line 10)
  • access: protected

Inherited Variables

Inherited from HTMLPurifier_AttrDef

HTMLPurifier_AttrDef::$minimized
HTMLPurifier_AttrDef::$required
Methods
Constructor __construct (line 16)
  • access: public
HTMLPurifier_AttrDef_URI __construct ([$embeds_resource_resource $embeds_resource = false])
  • $embeds_resource_resource $embeds_resource: Does the URI here result in an extra HTTP request?

Redefined in descendants as:
make (line 21)
  • access: public
void make ( $string)
  • $string

Redefinition of:
HTMLPurifier_AttrDef::make()
Factory method for creating this class from a string.
validate (line 26)
  • access: public
void validate ( $uri,  $config,  $context)
  • $uri
  • $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:27 -0400 by phpDocumentor 1.4.2