1: <?php
2:
3: /**
4: * This file contains the cHTMLArticle 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: * cHTMLArticle class represents an HTML5 article element.
21: * Examples: Forum posts, newspaper articles, blog entries, user-submitted
22: * comments, ...
23: *
24: * @package Core
25: * @subpackage GUI_HTML
26: */
27: class cHTMLArticle extends cHTMLContentElement {
28:
29: /**
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 = 'article';
41: }
42:
43: }
44: