Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
HTMLPurifier_URIFilter_HostBlacklist Class Reference
Inheritance diagram for HTMLPurifier_URIFilter_HostBlacklist:
HTMLPurifier_URIFilter

Public Member Functions

 filter (&$uri, $config, $context)
 
 prepare ($config)
 

Public Attributes

 $always_load = false
 True if this filter should always be loaded.
 
 $name = 'HostBlacklist'
 
 $post = false
 True if this filter should be run after scheme validation.
 

Protected Attributes

 $blacklist = array()
 @type array
 

Member Function Documentation

◆ filter()

HTMLPurifier_URIFilter_HostBlacklist::filter ( & $uri,
$config,
$context )
Parameters
HTMLPurifier_URI$uri
HTMLPurifier_Config$config
HTMLPurifier_Context$context
Return values
bool

Reimplemented from HTMLPurifier_URIFilter.

◆ prepare()

HTMLPurifier_URIFilter_HostBlacklist::prepare ( $config)
Parameters
HTMLPurifier_Config$config
Return values
bool

Reimplemented from HTMLPurifier_URIFilter.

Member Data Documentation

◆ $always_load

HTMLPurifier_URIFilter::$always_load = false
inherited

True if this filter should always be loaded.

This permits a filter to be named Foo without the corresponding URI.Foo directive existing. @type bool

◆ $post

HTMLPurifier_URIFilter::$post = false
inherited

True if this filter should be run after scheme validation.

@type bool


The documentation for this class was generated from the following file: