HTMLPurifier_URIDefinition
Super-class for definition datatype objects, implements serialization functions for the class.
- Full name:
\HTMLPurifier_URIDefinition
- Parent class:
\HTMLPurifier_Definition
Properties
type
What type of definition is it?
filters
postFilters
registeredFilters
base
HTMLPurifier_URI object of the base specified at %URI.Base
host
String host to consider "home" base, derived off of $base
defaultScheme
Name of default scheme based on %URI.DefaultScheme and %URI.Base
Methods
__construct
registerFilter
Parameters:
Parameter | Type | Description |
---|---|---|
$filter |
mixed |
addFilter
Parameters:
Parameter | Type | Description |
---|---|---|
$filter |
mixed | |
$config |
mixed |
doSetup
Sets up the definition object into the final form, something not done by the constructor
Parameters:
Parameter | Type | Description |
---|---|---|
$config |
mixed |
setupFilters
Parameters:
Parameter | Type | Description |
---|---|---|
$config |
mixed |
setupMemberVariables
Parameters:
Parameter | Type | Description |
---|---|---|
$config |
mixed |
getDefaultScheme
Parameters:
Parameter | Type | Description |
---|---|---|
$config |
mixed | |
$context |
mixed |
filter
Parameters:
Parameter | Type | Description |
---|---|---|
$uri |
mixed | |
$config |
mixed | |
$context |
mixed |
postFilter
Parameters:
Parameter | Type | Description |
---|---|---|
$uri |
mixed | |
$config |
mixed | |
$context |
mixed |
Inherited methods
doSetup
Sets up the definition object into the final form, something not done by the constructor
- This method is abstract.
Parameters:
Parameter | Type | Description |
---|---|---|
$config |
\HTMLPurifier_Config |
setup
Setup function that aborts if already setup
Parameters:
Parameter | Type | Description |
---|---|---|
$config |
\HTMLPurifier_Config |
Automatically generated on 2025-03-18