ILIAS  release_4-4 Revision
SafeObject.php
Go to the documentation of this file.
1 <?php
2 
7 {
8  public $name = "SafeObject";
9 
10  function transform($attr, $config, $context) {
11  if (!isset($attr['type'])) $attr['type'] = 'application/x-shockwave-flash';
12  return $attr;
13  }
14 }
15 
16 // vim: et sw=4 sts=4
Processes an entire attribute array for corrections needing multiple values.
Writes default type for all objects.
Definition: SafeObject.php:6
transform($attr, $config, $context)
Definition: SafeObject.php:10