ILIAS
Release_5_0_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
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
Services
Html
HtmlPurifier
library
HTMLPurifier
URIFilter
DisableExternalResources.php
Generated on Wed Apr 27 2016 21:01:41 for ILIAS by
1.8.1.2 (using
Doxyfile
)