ILIAS  Release_4_1_x_branch Revision 61804
 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 
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