HTMLPurifier 4.4.0
|
Implements safety checks for safe iframes. More...
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 = 'SafeIframe' | |
Unique identifier of filter. | |
$always_load = true | |
True if this filter should always be loaded (this permits a filter to be named Foo without the corresponding URI.Foo directive existing.) | |
Protected Attributes | |
$regexp = NULL |
Implements safety checks for safe iframes.
Definition at line 9 of file SafeIframe.php.
HTMLPurifier_URIFilter_SafeIframe::filter | ( | &$ | uri, |
$ | config, | ||
$ | context | ||
) |
Filter a URI object.
$uri | Reference to URI object variable |
$config | Instance of HTMLPurifier_Config |
$context | Instance of HTMLPurifier_Context |
Reimplemented from HTMLPurifier_URIFilter.
Definition at line 21 of file SafeIframe.php.
References $config.
HTMLPurifier_URIFilter_SafeIframe::filter | ( | &$ | uri, |
$ | config, | ||
$ | context | ||
) |
Filter a URI object.
$uri | Reference to URI object variable |
$config | Instance of HTMLPurifier_Config |
$context | Instance of HTMLPurifier_Context |
Reimplemented from HTMLPurifier_URIFilter.
Definition at line 17108 of file HTMLPurifier.standalone.php.
References $config.
HTMLPurifier_URIFilter_SafeIframe::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 17104 of file HTMLPurifier.standalone.php.
References $config.
HTMLPurifier_URIFilter_SafeIframe::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 17 of file SafeIframe.php.
References $config.
HTMLPurifier_URIFilter_SafeIframe::$always_load = true |
True if this filter should always be loaded (this permits a filter to be named Foo without the corresponding URI.Foo directive existing.)
Reimplemented from HTMLPurifier_URIFilter.
Definition at line 12 of file SafeIframe.php.
HTMLPurifier_URIFilter_SafeIframe::$name = 'SafeIframe' |
Unique identifier of filter.
Reimplemented from HTMLPurifier_URIFilter.
Definition at line 11 of file SafeIframe.php.
HTMLPurifier_URIFilter_SafeIframe::$regexp = NULL [protected] |
Definition at line 13 of file SafeIframe.php.