39        $this->registeredFilters[$filter->name] = $filter;
 
   45        if (
$r === 
false) 
return; 
 
   47            $this->postFilters[$filter->name] = $filter;
 
   49            $this->filters[$filter->name] = $filter;
 
   61        foreach ($this->registeredFilters as 
$name => $filter) {
 
   62            if ($filter->always_load) {
 
   66                if ($conf !== 
false && $conf !== 
null) {
 
   71        unset($this->registeredFilters);
 
   76        $this->host = 
$config->get(
'URI.Host');
 
   77        $base_uri = 
$config->get(
'URI.Base');
 
   78        if (!is_null($base_uri)) {
 
   81            $this->defaultScheme = $this->
base->scheme;
 
   82            if (is_null($this->host)) $this->host = $this->
base->host;
 
   84        if (is_null($this->defaultScheme)) $this->defaultScheme = 
$config->get(
'URI.DefaultScheme');
 
   94        foreach ($this->filters as 
$name => $f) {
 
  103        foreach ($this->postFilters as 
$name => $f) {
 
An exception for terminatinating execution or to throw for unit testing.
Super-class for definition datatype objects, implements serialization functions for the class.
filter(&$uri, $config, $context)
addFilter($filter, $config)
getDefaultScheme($config, $context)
doSetup($config)
Sets up the definition object into the final form, something not done by the constructor.
postFilter(&$uri, $config, $context)
$host
String host to consider "home" base, derived off of $base.
$base
HTMLPurifier_URI object of the base specified at URI.Base.
setupMemberVariables($config)
$defaultScheme
Name of default scheme based on URI.DefaultScheme and URI.Base.
Implements safety checks for safe iframes.
Parses a URI into the components and fragment identifier as specified by RFC 3986.
static instance($prototype=null)
Retrieve sole instance of the registry.