ILIAS
release_4-4 Revision
◀ ilDoc Overview
SafeEmbed.php
Go to the documentation of this file.
1
<?php
2
3
class
HTMLPurifier_AttrTransform_SafeEmbed
extends
HTMLPurifier_AttrTransform
4
{
5
public
$name
=
"SafeEmbed"
;
6
7
public
function
transform
($attr, $config, $context) {
8
$attr[
'allowscriptaccess'
] =
'never'
;
9
$attr[
'allownetworking'
] =
'internal'
;
10
$attr[
'type'
] =
'application/x-shockwave-flash'
;
11
return
$attr;
12
}
13
}
14
15
// vim: et sw=4 sts=4
HTMLPurifier_AttrTransform
Processes an entire attribute array for corrections needing multiple values.
Definition:
AttrTransform.php:17
HTMLPurifier_AttrTransform_SafeEmbed\$name
$name
Definition:
SafeEmbed.php:5
HTMLPurifier_AttrTransform_SafeEmbed\transform
transform($attr, $config, $context)
Definition:
SafeEmbed.php:7
HTMLPurifier_AttrTransform_SafeEmbed
Definition:
SafeEmbed.php:3
Services
Html
HtmlPurifier
library
HTMLPurifier
AttrTransform
SafeEmbed.php
Generated on Mon Dec 21 2020 19:01:15 for ILIAS by
1.8.13 (using
Doxyfile
)