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: /* Effective value */
26: protected $_mValue;
27:
28: /* Displayed value */
29: protected $_mDisplayedValue;
30:
31: public function __construct() {
32: }
33:
34: /**
35: * Sets this datatype to a specific value
36: *
37: * @param mixed $value
38: */
39: public function set($value) {
40: }
41:
42: /**
43: * Parses the given value to transfer into the datatype's format
44: *
45: * @param mixed $value
46: */
47: public function parse($value) {
48: }
49:
50: /**
51: * Returns the effective value
52: * @return mixed
53: */
54: public function get() {
55: }
56:
57: /**
58: * Renders the displayed value
59: */
60: public function render() {
61: }
62: }
63:
64: ?>