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
Presentation.php
Go to the documentation of this file.
1
<?php
2
13
class
HTMLPurifier_HTMLModule_Presentation
extends
HTMLPurifier_HTMLModule
14
{
15
19
public
$name
=
'Presentation'
;
20
24
public
function
setup
($config)
25
{
26
$this->
addElement
(
'hr'
,
'Block'
,
'Empty'
,
'Common'
);
27
$this->
addElement
(
'sub'
,
'Inline'
,
'Inline'
,
'Common'
);
28
$this->
addElement
(
'sup'
,
'Inline'
,
'Inline'
,
'Common'
);
29
$b = $this->
addElement
(
'b'
,
'Inline'
,
'Inline'
,
'Common'
);
30
$b->formatting =
true
;
31
$big = $this->
addElement
(
'big'
,
'Inline'
,
'Inline'
,
'Common'
);
32
$big->formatting =
true
;
33
$i = $this->
addElement
(
'i'
,
'Inline'
,
'Inline'
,
'Common'
);
34
$i->formatting =
true
;
35
$small = $this->
addElement
(
'small'
,
'Inline'
,
'Inline'
,
'Common'
);
36
$small->formatting =
true
;
37
$tt = $this->
addElement
(
'tt'
,
'Inline'
,
'Inline'
,
'Common'
);
38
$tt->formatting =
true
;
39
}
40
}
41
42
// vim: et sw=4 sts=4
HTMLPurifier_HTMLModule_Presentation\setup
setup($config)
Definition:
Presentation.php:24
HTMLPurifier_HTMLModule_Presentation\$name
$name
string
Definition:
Presentation.php:19
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_Presentation
XHTML 1.1 Presentation Module, defines simple presentation-related markup.
Definition:
Presentation.php:13
Services
Html
HtmlPurifier
library
HTMLPurifier
HTMLModule
Presentation.php
Generated on Mon Mar 31 2025 19:00:46 for ILIAS by
1.8.13 (using
Doxyfile
)