1: <?php
2:
3: /**
4: * This file contains the cHTMLListItem class.
5: *
6: * @package Core
7: * @subpackage GUI_HTML
8: * @version SVN Revision $Rev:$
9: *
10: * @author Simon Sprankel
11: * @copyright four for business AG <www.4fb.de>
12: * @license http://www.contenido.org/license/LIZENZ.txt
13: * @link http://www.4fb.de
14: * @link http://www.contenido.org
15: */
16:
17: defined('CON_FRAMEWORK') || die('Illegal call: Missing framework initialization - request aborted.');
18:
19: /**
20: * cHTMLListItem class represents a list item.
21: *
22: * @package Core
23: * @subpackage GUI_HTML
24: */
25: class cHTMLListItem extends cHTMLContentElement {
26:
27: /**
28: * Creates an HTML li element.
29: *
30: * @param string $id [optional]
31: * the ID of this list item
32: * @param string $class [optional]
33: * the class of this list item
34: */
35: public function __construct($id = '', $class = '') {
36: parent::__construct('', $class, $id);
37: $this->_tag = 'li';
38: }
39:
40: }
41: