ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ 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
$context
$context
Definition:
webdav.php:25
HTMLPurifier_URIFilter
Chainable filters for custom URI processing.
Definition:
URIFilter.php:28
$config
$config
Definition:
bootstrap.php:15
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 Thu Jan 30 2025 19:01:17 for ILIAS by
1.8.13 (using
Doxyfile
)