ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
x
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
Iframe.php
Go to the documentation of this file.
1
<?php
2
10
class
HTMLPurifier_HTMLModule_Iframe
extends
HTMLPurifier_HTMLModule
11
{
12
16
public
$name
=
'Iframe'
;
17
21
public
$safe
=
false
;
22
26
public
function
setup
($config)
27
{
28
if
($config->get(
'HTML.SafeIframe'
)) {
29
$this->safe =
true
;
30
}
31
$this->
addElement
(
32
'iframe'
,
33
'Inline'
,
34
'Flow'
,
35
'Common'
,
36
array(
37
'src'
=>
'URI#embedded'
,
38
'width'
=>
'Length'
,
39
'height'
=>
'Length'
,
40
'name'
=>
'ID'
,
41
'scrolling'
=>
'Enum#yes,no,auto'
,
42
'frameborder'
=>
'Enum#0,1'
,
43
'longdesc'
=>
'URI'
,
44
'marginheight'
=>
'Pixels'
,
45
'marginwidth'
=>
'Pixels'
,
46
)
47
);
48
}
49
}
50
51
// vim: et sw=4 sts=4
HTMLPurifier_HTMLModule_Iframe\$safe
$safe
bool
Definition:
Iframe.php:21
HTMLPurifier_HTMLModule_Iframe\$name
$name
string
Definition:
Iframe.php:16
HTMLPurifier_HTMLModule\addElement
addElement($element, $type, $contents, $attr_includes=array(), $attr=array())
Convenience function that sets up a new element.
Definition:
HTMLModule.php:144
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:26
Services
Html
HtmlPurifier
library
HTMLPurifier
HTMLModule
Iframe.php
Generated on Mon Mar 31 2025 19:00:46 for ILIAS by
1.8.13 (using
Doxyfile
)