ILIAS  release_4-4 Revision
All Data Structures Namespaces Files Functions Variables Modules Pages
Textarea.php
Go to the documentation of this file.
1 <?php
2 
7 {
8 
9  public function transform($attr, $config, $context) {
10  // Calculated from Firefox
11  if (!isset($attr['cols'])) $attr['cols'] = '22';
12  if (!isset($attr['rows'])) $attr['rows'] = '3';
13  return $attr;
14  }
15 
16 }
17 
18 // vim: et sw=4 sts=4
Processes an entire attribute array for corrections needing multiple values.
Sets height/width defaults for <textarea>
Definition: Textarea.php:6
transform($attr, $config, $context)
Definition: Textarea.php:9