ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
Target.php
Go to the documentation of this file.
1<?php
2
7{
11 public $name = 'Target';
12
16 public function setup($config)
17 {
18 $elements = array('a');
19 foreach ($elements as $name) {
20 $e = $this->addBlankElement($name);
21 $e->attr = array(
23 );
24 }
25 }
26}
27
28// vim: et sw=4 sts=4
Special-case enum attribute definition that lazy loads allowed frame targets.
Definition: FrameTarget.php:7
XHTML 1.1 Target Module, defines target attribute in link elements.
Definition: Target.php:7
Represents an XHTML 1.1 module, with information on elements, tags and attributes.
Definition: HTMLModule.php:19
addBlankElement($element)
Convenience function that creates a totally blank, non-standalone element.
Definition: HTMLModule.php:174
$elements
Informally, a list of elements this module changes.
Definition: HTMLModule.php:34