ILIAS
release_4-4 Revision
◀ ilDoc Overview
Iframe.php
Go to the documentation of this file.
1
<?php
2
10
class
HTMLPurifier_HTMLModule_Iframe
extends
HTMLPurifier_HTMLModule
11
{
12
13
public
$name
=
'Iframe'
;
14
public
$safe
=
false
;
15
16
public
function
setup
($config) {
17
if
($config->get(
'HTML.SafeIframe'
)) {
18
$this->safe =
true
;
19
}
20
$this->
addElement
(
21
'iframe'
,
'Inline'
,
'Flow'
,
'Common'
,
22
array(
23
'src'
=>
'URI#embedded'
,
24
'width'
=>
'Length'
,
25
'height'
=>
'Length'
,
26
'name'
=>
'ID'
,
27
'scrolling'
=>
'Enum#yes,no,auto'
,
28
'frameborder'
=>
'Enum#0,1'
,
29
'longdesc'
=>
'URI'
,
30
'marginheight'
=>
'Pixels'
,
31
'marginwidth'
=>
'Pixels'
,
32
)
33
);
34
}
35
36
}
37
38
// vim: et sw=4 sts=4
HTMLPurifier_HTMLModule_Iframe\$safe
$safe
Definition:
Iframe.php:14
HTMLPurifier_HTMLModule_Iframe\$name
$name
Definition:
Iframe.php:13
HTMLPurifier_HTMLModule\addElement
addElement($element, $type, $contents, $attr_includes=array(), $attr=array())
Convenience function that sets up a new element.
Definition:
HTMLModule.php:130
HTMLPurifier_HTMLModule
Represents an XHTML 1.1 module, with information on elements, tags and attributes.
Definition:
HTMLModule.php:18
HTMLPurifier_HTMLModule_Iframe
XHTML 1.1 Iframe Module provides inline frames.
Definition:
Iframe.php:10
HTMLPurifier_HTMLModule_Iframe\setup
setup($config)
Definition:
Iframe.php:16
Services
Html
HtmlPurifier
library
HTMLPurifier
HTMLModule
Iframe.php
Generated on Mon Dec 21 2020 19:01:15 for ILIAS by
1.8.13 (using
Doxyfile
)