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
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 Fri Apr 22 2016 19:04:09 for ILIAS by
1.8.1.2 (using
Doxyfile
)