ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ScriptRequired.php
Go to the documentation of this file.
1 <?php
2 
7 {
14  public function transform($attr, $config, $context)
15  {
16  if (!isset($attr['type'])) {
17  $attr['type'] = 'text/javascript';
18  }
19  return $attr;
20  }
21 }
22 
23 // vim: et sw=4 sts=4
Processes an entire attribute array for corrections needing multiple values.
$context
Definition: webdav.php:25
$config
Definition: bootstrap.php:15
Implements required attribute stipulation for <script>