ILIAS  release_4-4 Revision
All Data Structures Namespaces Files Functions Variables Modules Pages
Iframe.php
Go to the documentation of this file.
1 <?php
2 
11 {
12 
13  public $name = 'Iframe';
14  public $safe = false;
15 
16  public function setup($config) {
17  if ($config->get('HTML.SafeIframe')) {
18  $this->safe = true;
19  }
20  $this->addElement(
21  'iframe', 'Inline', 'Flow', 'Common',
22  array(
23  'src' => 'URI#embedded',
24  'width' => 'Length',
25  'height' => 'Length',
26  'name' => 'ID',
27  'scrolling' => 'Enum#yes,no,auto',
28  'frameborder' => 'Enum#0,1',
29  'longdesc' => 'URI',
30  'marginheight' => 'Pixels',
31  'marginwidth' => 'Pixels',
32  )
33  );
34  }
35 
36 }
37 
38 // vim: et sw=4 sts=4
addElement($element, $type, $contents, $attr_includes=array(), $attr=array())
Convenience function that sets up a new element.
Definition: HTMLModule.php:130
Represents an XHTML 1.1 module, with information on elements, tags and attributes.
Definition: HTMLModule.php:18
XHTML 1.1 Iframe Module provides inline frames.
Definition: Iframe.php:10