1: <?php
2:
3: /**
4: * This file contains the cHTMLScript 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: * cHTMLScript class represents a script.
21: *
22: * @todo Should set attribute type="text/javascript" by default or depending on
23: * doctype!
24: * @package Core
25: * @subpackage GUI_HTML
26: */
27: class cHTMLScript extends cHTMLContentElement {
28:
29: /**
30: * Creates an HTML script element.
31: */
32: public function __construct() {
33: parent::__construct();
34: $this->_tag = 'script';
35: }
36:
37: }
38: