Domain
extends HTMLPurifier_URIFilter
in package
Plugin class to check allowed domains in urls.
Table of Contents
- $name : mixed
- {@inheritdoc}
- $allowedDomains : array<string|int, string>
- filter() : mixed
- {@inheritdoc}
- prepare() : mixed
- {@inheritdoc}
Properties
$name
{@inheritdoc}
public
mixed
$name
= 'Domain'
$allowedDomains
private
array<string|int, string>
$allowedDomains
= []
Allowed domains.
Methods
filter()
{@inheritdoc}
public
filter(mixed &$uri, mixed $config, mixed $context) : mixed
Parameters
- $uri : mixed
- $config : mixed
- $context : mixed
Return values
mixed —prepare()
{@inheritdoc}
public
prepare(mixed $config) : mixed
Parameters
- $config : mixed