1: <?php
2: /**
3: * This file contains the root database driver for the generic db.
4: *
5: * @package Core
6: * @subpackage GenericDB
7: * @version SVN Revision $Rev:$
8: *
9: * @author Timo Hummel
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: * Root database driver
20: *
21: * @package Core
22: * @subpackage GenericDB
23: */
24: class cGenericDbDriver {
25:
26: protected $_sEncoding;
27:
28: protected $_oItemClassInstance;
29:
30: public function setEncoding($sEncoding) {
31: $this->_sEncoding = $sEncoding;
32: }
33:
34: public function setItemClassInstance($oInstance) {
35: $this->_oItemClassInstance = $oInstance;
36: }
37:
38: public function buildJoinQuery($destinationTable, $destinationClass, $destinationPrimaryKey, $sourceClass, $primaryKey) {
39: }
40:
41: public function buildOperator($sField, $sOperator, $sRestriction) {
42: }
43:
44: }
45: