HTMLPurifier 4.4.0
HTMLPurifier_URIFilter_Munge Class Reference
Inheritance diagram for HTMLPurifier_URIFilter_Munge:
HTMLPurifier_URIFilter HTMLPurifier_URIFilter

List of all members.

Public Member Functions

 prepare ($config)
 Performs initialization for the filter.
 filter (&$uri, $config, $context)
 Filter a URI object.
 prepare ($config)
 Performs initialization for the filter.
 filter (&$uri, $config, $context)
 Filter a URI object.

Public Attributes

 $name = 'Munge'
 Unique identifier of filter.
 $post = true
 True if this filter should be run after scheme validation.
 $parser
 $doEmbed
 $secretKey

Protected Member Functions

 makeReplace ($uri, $config, $context)
 makeReplace ($uri, $config, $context)

Protected Attributes

 $replace = array()

Private Attributes

 $target

Detailed Description

Definition at line 3 of file Munge.php.


Member Function Documentation

HTMLPurifier_URIFilter_Munge::filter ( &$  uri,
config,
context 
)

Filter a URI object.

Parameters:
$uriReference to URI object variable
$configInstance of HTMLPurifier_Config
$contextInstance of HTMLPurifier_Context
Returns:
bool Whether or not to continue processing: false indicates URL is no good, true indicates continue processing. Note that all changes are committed directly on the URI object

Reimplemented from HTMLPurifier_URIFilter.

Definition at line 18 of file Munge.php.

References $config, and makeReplace().

HTMLPurifier_URIFilter_Munge::filter ( &$  uri,
config,
context 
)

Filter a URI object.

Parameters:
$uriReference to URI object variable
$configInstance of HTMLPurifier_Config
$contextInstance of HTMLPurifier_Context
Returns:
bool Whether or not to continue processing: false indicates URL is no good, true indicates continue processing. Note that all changes are committed directly on the URI object

Reimplemented from HTMLPurifier_URIFilter.

Definition at line 17051 of file HTMLPurifier.standalone.php.

References $config, and makeReplace().

HTMLPurifier_URIFilter_Munge::makeReplace ( uri,
config,
context 
) [protected]

Definition at line 17071 of file HTMLPurifier.standalone.php.

HTMLPurifier_URIFilter_Munge::makeReplace ( uri,
config,
context 
) [protected]

Definition at line 38 of file Munge.php.

Referenced by filter().

HTMLPurifier_URIFilter_Munge::prepare ( config)

Performs initialization for the filter.

If the filter returns false, this means that it shouldn't be considered active.

Reimplemented from HTMLPurifier_URIFilter.

Definition at line 17044 of file HTMLPurifier.standalone.php.

References $config.

HTMLPurifier_URIFilter_Munge::prepare ( config)

Performs initialization for the filter.

If the filter returns false, this means that it shouldn't be considered active.

Reimplemented from HTMLPurifier_URIFilter.

Definition at line 11 of file Munge.php.

References $config.


Member Data Documentation

HTMLPurifier_URIFilter_Munge::$doEmbed

Definition at line 7 of file Munge.php.

HTMLPurifier_URIFilter_Munge::$name = 'Munge'

Unique identifier of filter.

Reimplemented from HTMLPurifier_URIFilter.

Definition at line 5 of file Munge.php.

HTMLPurifier_URIFilter_Munge::$parser

Definition at line 7 of file Munge.php.

HTMLPurifier_URIFilter_Munge::$post = true

True if this filter should be run after scheme validation.

Reimplemented from HTMLPurifier_URIFilter.

Definition at line 6 of file Munge.php.

HTMLPurifier_URIFilter_Munge::$replace = array() [protected]

Definition at line 9 of file Munge.php.

HTMLPurifier_URIFilter_Munge::$secretKey

Definition at line 7 of file Munge.php.

HTMLPurifier_URIFilter_Munge::$target [private]

Definition at line 7 of file Munge.php.


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