1: <?php
2: /**
3: * This file contains the abstract datatype class.
4: *
5: * @package Core
6: * @subpackage Datatype
7: * @version SVN Revision $Rev:$
8: *
9: * @author unknown
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: * Abstract datatype class.
20: *
21: * @package Core
22: * @subpackage Datatype
23: */
24: class cDatatype {
25:
26: /**
27: * Effective value
28: * @var mixed
29: */
30: protected $_mValue;
31:
32: /**
33: * Displayed value
34: * @var mixed
35: */
36: protected $_mDisplayedValue;
37:
38: /**
39: *
40: */
41: public function __construct() {
42: }
43:
44: /**
45: * Sets this datatype to a specific value
46: *
47: * @param mixed $value
48: */
49: public function set($value) {
50: }
51:
52: /**
53: * Parses the given value to transfer into the datatype's format
54: *
55: * @param mixed $value
56: */
57: public function parse($value) {
58: }
59:
60: /**
61: * Returns the effective value
62: * @return mixed
63: */
64: public function get() {
65: }
66:
67: /**
68: * Renders the displayed value
69: */
70: public function render() {
71: }
72: }
73:
74: ?>