1: <?php
2:
3: /**
4: * This file contains the cHTMLParagraph 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: * cHTMLParagraph class represents a paragraph.
21: *
22: * @package Core
23: * @subpackage GUI_HTML
24: */
25: class cHTMLParagraph extends cHTMLContentElement {
26:
27: /**
28: * Constructor.
29: * Creates an HTML p element.
30: *
31: * @param mixed $content [optional]
32: * String or object with the contents
33: * @param string $class [optional]
34: * class of this element
35: */
36: public function __construct($content = '', $class = '') {
37: parent::__construct($content, $class);
38: $this->_tag = 'p';
39: }
40: }
41: