1: <?php
2: /**
3: * This file contains the cContentTypeHtmlhead class.
4: *
5: * @package Core
6: * @subpackage ContentType
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: * Content type CMS_HTMLHEAD which lets the editor enter HTML with the help of a
20: * WYSIWYG editor.
21: *
22: * @package Core
23: * @subpackage ContentType
24: */
25: class cContentTypeHtmlhead extends cContentTypeHtml {
26:
27: /**
28: * Initialises class attributes and handles store events.
29: *
30: * @param string $rawSettings the raw settings in an XML structure or as
31: * plaintext
32: * @param integer $id ID of the content type, e.g. 3 if CMS_DATE[3] is
33: * used
34: * @param array $contentTypes array containing the values of all content
35: * types
36: * @return void
37: */
38: public function __construct($rawSettings, $id, array $contentTypes) {
39: // change attributes from the parent class and call the parent
40: // constructor
41: parent::__construct($rawSettings, $id, $contentTypes);
42: $this->_type = 'CMS_HTMLHEAD';
43: $this->_prefix = 'htmlhead';
44: }
45:
46: }