Class HTMLPurifier_AttrDef_URI

Description

Validates a URI as defined by RFC 3986.

Located in /lib/core/Parsers/htmlpurifier/HTMLPurifier.standalone.php (line 8048)

HTMLPurifier_AttrDef
   |
   --HTMLPurifier_AttrDef_URI
Direct descendents
Class Description
HTMLPurifier_AttrDef_CSS_URI Validates a URI in CSS syntax, which uses url('http://example.com')
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 8052)
  • access: protected
mixed $parser (line 8051)
  • access: protected

Inherited Variables

Inherited from HTMLPurifier_AttrDef

HTMLPurifier_AttrDef::$minimized
HTMLPurifier_AttrDef::$required
Methods
Constructor __construct (line 8057)
  • 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 8062)
  • access: public
void make ( $string)
  • $string

Redefinition of:
HTMLPurifier_AttrDef::make()
Factory method for creating this class from a string.
validate (line 8067)
  • 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::expandCSSEscape()
HTMLPurifier_AttrDef::make()
HTMLPurifier_AttrDef::mungeRgb()
HTMLPurifier_AttrDef::parseCDATA()
HTMLPurifier_AttrDef::validate()

Documentation generated on Sun, 06 Mar 2011 00:24:00 -0500 by phpDocumentor 1.4.3