1: <?php
2:
3: /**
4: * This file contains the cHTMLLegend class.
5: *
6: * @package Core
7: * @subpackage GUI_HTML
8: *
9: * @author Marcus Gnaß <marcus.gnass@4fb.de>
10: * @copyright four for business AG <www.4fb.de>
11: * @license http://www.contenido.org/license/LIZENZ.txt
12: * @link http://www.4fb.de
13: * @link http://www.contenido.org
14: */
15:
16: defined('CON_FRAMEWORK') || die('Illegal call');
17:
18: /**
19: * cHTMLLegend class represents a legend element.
20: *
21: * @package Core
22: * @subpackage GUI_HTML
23: */
24: class cHTMLLegend extends cHTMLContentElement {
25:
26: /**
27: * Constructor to create an instance of this class.
28: *
29: * Creates an HTML legend element.
30: *
31: * @param mixed $content [optional]
32: * String or object with the contents
33: * @param string $class [optional]
34: * the class of this element
35: * @param string $id [optional]
36: * the ID of this element
37: */
38: public function __construct($content = '', $class = '', $id = '') {
39: parent::__construct($content, $class, $id);
40: $this->_tag = 'legend';
41: }
42:
43: }
44: