1: <?php
2: /**
3: * This file contains the cHTMLScript class.
4: *
5: * @package Core
6: * @subpackage GUI_HTML
7: * @version SVN Revision $Rev:$
8: *
9: * @author Simon Sprankel
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: Missing framework initialization - request aborted.');
17:
18: /**
19: * cHTMLScript class represents a script.
20: *
21: * @todo Should set attribute type="text/javascript" by default or depending on
22: * doctype!
23: * @package Core
24: * @subpackage GUI_HTML
25: */
26: class cHTMLScript extends cHTMLContentElement {
27:
28: /**
29: * Creates an HTML script element.
30: *
31: * @return void
32: */
33: public function __construct() {
34: parent::__construct();
35: $this->_tag = 'script';
36: }
37:
38: }
39: