ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
DisableExternalResources.php
Go to the documentation of this file.
1
<?
php
2
3
class
HTMLPurifier_URIFilter_DisableExternalResources
extends
HTMLPurifier_URIFilter_DisableExternal
4
{
8
public
$name
=
'DisableExternalResources'
;
9
16
public
function
filter
(&$uri,
$config
, $context)
17
{
18
if
(!$context->get(
'EmbeddedURI'
,
true
)) {
19
return
true
;
20
}
21
return
parent::filter($uri,
$config
, $context);
22
}
23
}
24
25
// vim: et sw=4 sts=4
HTMLPurifier_URIFilter_DisableExternalResources\$name
$name
string
Definition:
DisableExternalResources.php:8
$config
$config
Definition:
flush-definition-cache.php:23
HTMLPurifier_URIFilter_DisableExternalResources
Definition:
DisableExternalResources.php:3
php
HTMLPurifier_URIFilter_DisableExternalResources\filter
filter(&$uri, $config, $context)
Definition:
DisableExternalResources.php:16
HTMLPurifier_URIFilter_DisableExternal
Definition:
DisableExternal.php:3
libs
composer
vendor
ezyang
htmlpurifier
library
HTMLPurifier
URIFilter
DisableExternalResources.php
Generated on Fri Jan 24 2025 19:00:48 for ILIAS by
1.8.13 (using
Doxyfile
)