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