XOOPS 2.5.6
Final
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
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
L:
0xoops
xoops-2.5.6
htdocs
xoops_lib
modules
protector
library
HTMLPurifier
HTMLModule
Hypertext.php
Generated on Fri May 10 2013 01:04:30 for XOOPS 2.5.6 by
1.8.3.1