1: <?php
2: /**
3: * This file contains the cHTMLLegend class.
4: *
5: * @package Core
6: * @subpackage GUI_HTML
7: * @version SVN Revision $Rev:$
8: *
9: * @author Marcus Gnaß
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.
28: * Creates an HTML legend element.
29: *
30: * @param mixed $content String or object with the contents
31: * @param string $class the class of this element
32: * @param string $id the ID of this element
33: */
34: public function __construct($content = '', $class = '', $id = '') {
35: parent::__construct($content, $class, $id);
36: $this->_tag = 'legend';
37: }
38:
39: }
40: