Class HTMLPurifier_URIDefinition
Inheritance | HTMLPurifier_URIDefinition » HTMLPurifier_Definition |
---|
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$base | HTMLPurifier_URI object of the base specified at %URI.Base | HTMLPurifier_URIDefinition | |
$defaultScheme | Name of default scheme based on %URI.DefaultScheme and %URI.Base | HTMLPurifier_URIDefinition | |
$host | String host to consider "home" base, derived off of $base | HTMLPurifier_URIDefinition | |
$optimized | If true, write out the final definition object to the cache after setup. This will be true only if all invocations to get a raw definition object are also optimized. This does not cause file system thrashing because on subsequent calls the cached object is used and any writes to the raw definition object are short circuited. See enduser-customize.html for the high-level picture. | HTMLPurifier_Definition | |
$setup | Has setup() been called yet? | HTMLPurifier_Definition | |
$type | HTMLPurifier_URIDefinition |
Protected Properties
Property | Type | Description | Defined By |
---|---|---|---|
$filters | HTMLPurifier_URIDefinition | ||
$postFilters | HTMLPurifier_URIDefinition | ||
$registeredFilters | HTMLPurifier_URIDefinition |
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | HTMLPurifier_URIDefinition | |
addFilter() | HTMLPurifier_URIDefinition | |
filter() | HTMLPurifier_URIDefinition | |
getDefaultScheme() | HTMLPurifier_URIDefinition | |
postFilter() | HTMLPurifier_URIDefinition | |
registerFilter() | HTMLPurifier_URIDefinition | |
setup() | Setup function that aborts if already setup | HTMLPurifier_Definition |
Protected Methods
Method | Description | Defined By |
---|---|---|
doSetup() | HTMLPurifier_URIDefinition | |
setupFilters() | HTMLPurifier_URIDefinition | |
setupMemberVariables() | HTMLPurifier_URIDefinition |
Property Details
Method Details
public void __construct ( ) |
public void addFilter ( $filter, $config ) | ||
$filter | ||
$config |
protected void doSetup ( $config ) | ||
$config |
public void filter ( <b>&</b>$uri, $config, $context ) | ||
$uri | ||
$config | ||
$context |
public void getDefaultScheme ( $config, $context ) | ||
$config | ||
$context |
public void postFilter ( <b>&</b>$uri, $config, $context ) | ||
$uri | ||
$config | ||
$context |
public void registerFilter ( $filter ) | ||
$filter |
protected void setupFilters ( $config ) | ||
$config |
protected void setupMemberVariables ( $config ) | ||
$config |