ILIAS
Release_4_2_x_branch Revision 61807
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
Name.php
Go to the documentation of this file.
1
<?php
2
3
class
HTMLPurifier_HTMLModule_Name
extends
HTMLPurifier_HTMLModule
4
{
5
6
public
$name
=
'Name'
;
7
8
public
function
setup
(
$config
) {
9
$elements
= array(
'a'
,
'applet'
,
'form'
,
'frame'
,
'iframe'
,
'img'
,
'map'
);
10
foreach
(
$elements
as
$name
) {
11
$element = $this->
addBlankElement
($name);
12
$element->attr[
'name'
] =
'CDATA'
;
13
if
(!
$config
->get(
'HTML.Attr.Name.UseCDATA'
)) {
14
$element->attr_transform_post[
'NameSync'
] =
new
HTMLPurifier_AttrTransform_NameSync
();
15
}
16
}
17
}
18
19
}
20
21
// vim: et sw=4 sts=4
Services
Html
HtmlPurifier
library
HTMLPurifier
HTMLModule
Name.php
Generated on Fri Apr 22 2016 19:04:09 for ILIAS by
1.8.1.2 (using
Doxyfile
)