XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables 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