HTMLPurifier 4.4.0
HTMLPurifier_URIFilter_MakeAbsolute Class Reference
Inheritance diagram for HTMLPurifier_URIFilter_MakeAbsolute:
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 = 'MakeAbsolute'
 Unique identifier of filter.

Protected Attributes

 $base
 $basePathStack = array()

Private Member Functions

 _collapseStack ($stack)
 Resolve dots and double-dots in a path stack.
 _collapseStack ($stack)
 Resolve dots and double-dots in a path stack.

Detailed Description

Definition at line 5 of file MakeAbsolute.php.


Member Function Documentation

HTMLPurifier_URIFilter_MakeAbsolute::_collapseStack ( stack) [private]

Resolve dots and double-dots in a path stack.

Definition at line 78 of file MakeAbsolute.php.

Referenced by filter(), and prepare().

HTMLPurifier_URIFilter_MakeAbsolute::_collapseStack ( stack) [private]

Resolve dots and double-dots in a path stack.

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

HTMLPurifier_URIFilter_MakeAbsolute::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 16942 of file HTMLPurifier.standalone.php.

References $config, and _collapseStack().

HTMLPurifier_URIFilter_MakeAbsolute::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 24 of file MakeAbsolute.php.

References $config, and _collapseStack().

HTMLPurifier_URIFilter_MakeAbsolute::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 16928 of file HTMLPurifier.standalone.php.

References $config, $def, and _collapseStack().

HTMLPurifier_URIFilter_MakeAbsolute::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 10 of file MakeAbsolute.php.

References $config, $def, and _collapseStack().


Member Data Documentation

HTMLPurifier_URIFilter_MakeAbsolute::$base [protected]

Definition at line 8 of file MakeAbsolute.php.

HTMLPurifier_URIFilter_MakeAbsolute::$basePathStack = array() [protected]

Definition at line 9 of file MakeAbsolute.php.

HTMLPurifier_URIFilter_MakeAbsolute::$name = 'MakeAbsolute'

Unique identifier of filter.

Reimplemented from HTMLPurifier_URIFilter.

Definition at line 7 of file MakeAbsolute.php.


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