ILIAS
Release_4_4_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
Presentation.php
Go to the documentation of this file.
1
<?php
2
13
class
HTMLPurifier_HTMLModule_Presentation
extends
HTMLPurifier_HTMLModule
14
{
15
16
public
$name
=
'Presentation'
;
17
18
public
function
setup
($config) {
19
$this->
addElement
(
'hr'
,
'Block'
,
'Empty'
,
'Common'
);
20
$this->
addElement
(
'sub'
,
'Inline'
,
'Inline'
,
'Common'
);
21
$this->
addElement
(
'sup'
,
'Inline'
,
'Inline'
,
'Common'
);
22
$b = $this->
addElement
(
'b'
,
'Inline'
,
'Inline'
,
'Common'
);
23
$b->formatting =
true
;
24
$big = $this->
addElement
(
'big'
,
'Inline'
,
'Inline'
,
'Common'
);
25
$big->formatting =
true
;
26
$i = $this->
addElement
(
'i'
,
'Inline'
,
'Inline'
,
'Common'
);
27
$i->formatting =
true
;
28
$small = $this->
addElement
(
'small'
,
'Inline'
,
'Inline'
,
'Common'
);
29
$small->formatting =
true
;
30
$tt = $this->
addElement
(
'tt'
,
'Inline'
,
'Inline'
,
'Common'
);
31
$tt->formatting =
true
;
32
}
33
34
}
35
36
// vim: et sw=4 sts=4
Services
Html
HtmlPurifier
library
HTMLPurifier
HTMLModule
Presentation.php
Generated on Wed Apr 27 2016 20:01:43 for ILIAS by
1.8.1.2 (using
Doxyfile
)