ILIAS
release_4-4 Revision
◀ 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
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
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
Hypertext.php
Go to the documentation of this file.
1
<?php
2
6
class
HTMLPurifier_HTMLModule_Hypertext
extends
HTMLPurifier_HTMLModule
7
{
8
9
public
$name
=
'Hypertext'
;
10
11
public
function
setup
($config) {
12
$a = $this->
addElement
(
13
'a'
,
'Inline'
,
'Inline'
,
'Common'
,
14
array(
15
// 'accesskey' => 'Character',
16
// 'charset' => 'Charset',
17
'href'
=>
'URI'
,
18
// 'hreflang' => 'LanguageCode',
19
'rel'
=>
new
HTMLPurifier_AttrDef_HTML_LinkTypes
(
'rel'
),
20
'rev'
=>
new
HTMLPurifier_AttrDef_HTML_LinkTypes
(
'rev'
),
21
// 'tabindex' => 'Number',
22
// 'type' => 'ContentType',
23
)
24
);
25
$a->formatting =
true
;
26
$a->excludes = array(
'a'
=>
true
);
27
}
28
29
}
30
31
// vim: et sw=4 sts=4
HTMLPurifier_HTMLModule_Hypertext\setup
setup($config)
Definition:
Hypertext.php:11
HTMLPurifier_HTMLModule_Hypertext\$name
$name
Definition:
Hypertext.php:9
HTMLPurifier_AttrDef_HTML_LinkTypes
Validates a rel/rev link attribute against a directive of allowed values.
Definition:
LinkTypes.php:9
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_Hypertext
XHTML 1.1 Hypertext Module, defines hypertext links.
Definition:
Hypertext.php:6
HTMLPurifier_HTMLModule
Represents an XHTML 1.1 module, with information on elements, tags and attributes.
Definition:
HTMLModule.php:18
Services
Html
HtmlPurifier
library
HTMLPurifier
HTMLModule
Hypertext.php
Generated on Mon Dec 21 2020 19:01:15 for ILIAS by
1.8.13 (using
Doxyfile
)