1: <?php
2:
3: /**
4: * This file contains the cContentTypeHtmlhead class.
5: *
6: * @package Core
7: * @subpackage ContentType
8: * @author Simon Sprankel
9: * @copyright four for business AG <www.4fb.de>
10: * @license http://www.contenido.org/license/LIZENZ.txt
11: * @link http://www.4fb.de
12: * @link http://www.contenido.org
13: */
14:
15: defined('CON_FRAMEWORK') || die('Illegal call: Missing framework initialization - request aborted.');
16:
17: /**
18: * Content type CMS_HTMLHEAD which lets the editor enter HTML with the help of a
19: * WYSIWYG editor.
20: *
21: * @package Core
22: * @subpackage ContentType
23: */
24: class cContentTypeHtmlhead extends cContentTypeHtml {
25:
26: /**
27: * Constructor to create an instance of this class.
28: *
29: * Initialises class attributes and handles store events.
30: *
31: * @param string $rawSettings
32: * the raw settings in an XML structure or as plaintext
33: * @param int $id
34: * ID of the content type, e.g. 3 if CMS_DATE[3] is used
35: * @param array $contentTypes
36: * array containing the values of all content types
37: */
38: public function __construct($rawSettings, $id, array $contentTypes) {
39:
40: // call parent constructor
41: parent::__construct($rawSettings, $id, $contentTypes);
42:
43: // set props
44: $this->_type = 'CMS_HTMLHEAD';
45: $this->_prefix = 'htmlhead';
46:
47: }
48:
49: }
50: