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