Class HTMLPurifier_URISchemeRegistry

Description

Registry for retrieving specific URI scheme validator objects.

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


	
			
Variable Summary
mixed $schemes
Method Summary
static void instance ([$prototype $prototype = null])
void getScheme ($scheme $scheme, $config $config, $config $context)
void register ($scheme $scheme, $scheme_obj $scheme_obj)
Variables
mixed $schemes = array() (line 7226)

Cache of retrieved schemes.

  • access: protected
Methods
static method instance (line 7213)

Retrieve sole instance of the registry.

  • access: public
static void instance ([$prototype $prototype = null])
  • $prototype $prototype: Optional prototype to overload sole instance with, or bool true to reset to default registry.
getScheme (line 7234)

Retrieves a scheme validator object

  • access: public
void getScheme ($scheme $scheme, $config $config, $config $context)
  • $scheme $scheme: String scheme name like http or mailto
  • $config $config: HTMLPurifier_Config object
  • $config $context: HTMLPurifier_Context object
register (line 7259)

Registers a custom scheme to the cache, bypassing reflection.

  • access: public
void register ($scheme $scheme, $scheme_obj $scheme_obj)
  • $scheme $scheme: Scheme name
  • $scheme_obj $scheme_obj: HTMLPurifier_URIScheme object

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