ILIAS
release_4-4 Revision
◀ ilDoc Overview
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
HTMLPurifier_HTMLModule_Presentation\setup
setup($config)
Definition:
Presentation.php:18
HTMLPurifier_HTMLModule_Presentation\$name
$name
Definition:
Presentation.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:130
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 Dec 21 2020 19:01:15 for ILIAS by
1.8.13 (using
Doxyfile
)