Class HTMLPurifier_URI

Description

HTML Purifier's internal representation of a URI.

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


	
			
Variable Summary
mixed $fragment
mixed $host
mixed $path
mixed $port
mixed $query
mixed $scheme
mixed $userinfo
Method Summary
HTMLPurifier_URI __construct ( $scheme,  $userinfo,  $host,  $port,  $path,  $query,  $fragment)
Scheme getSchemeObj ($config $config, $context $context)
String toString ()
True validate ($config $config, $context $context)
Variables
mixed $fragment (line 6783)
  • access: public
mixed $host (line 6783)
  • access: public
mixed $path (line 6783)
  • access: public
mixed $port (line 6783)
  • access: public
mixed $query (line 6783)
  • access: public
mixed $scheme (line 6783)
  • access: public
mixed $userinfo (line 6783)
  • access: public
Methods
Constructor __construct (line 6788)
  • access: public
HTMLPurifier_URI __construct ( $scheme,  $userinfo,  $host,  $port,  $path,  $query,  $fragment)
  • $scheme
  • $userinfo
  • $host
  • $port
  • $path
  • $query
  • $fragment
getSchemeObj (line 6804)

Retrieves a scheme object corresponding to the URI's scheme/default

  • return: object appropriate for validating this URI
  • access: public
Scheme getSchemeObj ($config $config, $context $context)
  • $config $config: Instance of HTMLPurifier_Config
  • $context $context: Instance of HTMLPurifier_Context
toString (line 6919)

Convert URI back to string

  • return: URI appropriate for output
  • access: public
String toString ()
validate (line 6832)

Generic validation method applicable for all schemes. May modify this URI in order to get it into a compliant form.

  • return: if validation/filtering succeeds, false if failure
  • access: public
True validate ($config $config, $context $context)
  • $config $config: Instance of HTMLPurifier_Config
  • $context $context: Instance of HTMLPurifier_Context

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