ILIAS
Release_4_0_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
BdoDir.php
Go to the documentation of this file.
1
<?php
2
3
// this MUST be placed in post, as it assumes that any value in dir is valid
4
8
class
HTMLPurifier_AttrTransform_BdoDir
extends
HTMLPurifier_AttrTransform
9
{
10
11
public
function
transform
($attr,
$config
, $context) {
12
if
(isset($attr[
'dir'
]))
return
$attr;
13
$attr[
'dir'
] =
$config
->get(
'Attr.DefaultTextDir'
);
14
return
$attr;
15
}
16
17
}
18
19
// vim: et sw=4 sts=4
Services
Html
HtmlPurifier
library
HTMLPurifier
AttrTransform
BdoDir.php
Generated on Wed Apr 27 2016 19:01:41 for ILIAS by
1.8.1.2 (using
Doxyfile
)