ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
SafeEmbed.php
Go to the documentation of this file.
1
<?php
2
3
class
HTMLPurifier_AttrTransform_SafeEmbed
extends
HTMLPurifier_AttrTransform
4
{
8
public
$name
=
"SafeEmbed"
;
9
16
public
function
transform
($attr,
$config
, $context)
17
{
18
$attr[
'allowscriptaccess'
] =
'never'
;
19
$attr[
'allownetworking'
] =
'internal'
;
20
$attr[
'type'
] =
'application/x-shockwave-flash'
;
21
return
$attr;
22
}
23
}
24
25
// vim: et sw=4 sts=4
HTMLPurifier_AttrTransform
Processes an entire attribute array for corrections needing multiple values.
Definition:
AttrTransform.php:17
$config
$config
Definition:
flush-definition-cache.php:23
HTMLPurifier_AttrTransform_SafeEmbed\$name
$name
string
Definition:
SafeEmbed.php:8
HTMLPurifier_AttrTransform_SafeEmbed\transform
transform($attr, $config, $context)
Definition:
SafeEmbed.php:16
HTMLPurifier_AttrTransform_SafeEmbed
Definition:
SafeEmbed.php:3
libs
composer
vendor
ezyang
htmlpurifier
library
HTMLPurifier
AttrTransform
SafeEmbed.php
Generated on Sat Jan 18 2025 19:01:02 for ILIAS by
1.8.13 (using
Doxyfile
)