Skip to content

HTMLPurifier_URIDefinition

Super-class for definition datatype objects, implements serialization functions for the class.

Properties

type

What type of definition is it?

public $type

filters

protected $filters

postFilters

protected $postFilters

registeredFilters

protected $registeredFilters

base

HTMLPurifier_URI object of the base specified at %URI.Base

public $base

host

String host to consider "home" base, derived off of $base

public $host

defaultScheme

Name of default scheme based on %URI.DefaultScheme and %URI.Base

public $defaultScheme

Methods

__construct

public __construct(): mixed

registerFilter

public registerFilter(mixed $filter): mixed

Parameters:

Parameter Type Description
$filter mixed

addFilter

public addFilter(mixed $filter, mixed $config): mixed

Parameters:

Parameter Type Description
$filter mixed
$config mixed

doSetup

Sets up the definition object into the final form, something not done by the constructor

protected doSetup(mixed $config): mixed

Parameters:

Parameter Type Description
$config mixed

setupFilters

protected setupFilters(mixed $config): mixed

Parameters:

Parameter Type Description
$config mixed

setupMemberVariables

protected setupMemberVariables(mixed $config): mixed

Parameters:

Parameter Type Description
$config mixed

getDefaultScheme

public getDefaultScheme(mixed $config, mixed $context): mixed

Parameters:

Parameter Type Description
$config mixed
$context mixed

filter

public filter(mixed& $uri, mixed $config, mixed $context): mixed

Parameters:

Parameter Type Description
$uri mixed
$config mixed
$context mixed

postFilter

public postFilter(mixed& $uri, mixed $config, mixed $context): mixed

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

protected doSetup(\HTMLPurifier_Config $config): mixed
  • This method is abstract.

Parameters:

Parameter Type Description
$config \HTMLPurifier_Config

setup

Setup function that aborts if already setup

public setup(\HTMLPurifier_Config $config): mixed

Parameters:

Parameter Type Description
$config \HTMLPurifier_Config


Automatically generated on 2025-03-18