ConLite/conlite/classes/class.genericdb.php

70 Zeilen
1.7 KiB
PHP

<?php
2021-01-26 18:41:21 +00:00
/**
* @package Contenido Backend classes
2019-07-03 11:58:28 +00:00
* @version $Id$
* @author Timo A. Hummel
* @author Murat Purc <murat@purc.de>
* @copyright four for business AG <www.4fb.de>
* @license http://www.contenido.org/license/LIZENZ.txt
* @link http://www.4fb.de
* @link http://www.contenido.org
* @since file available since contenido release <= 4.6
*/
if (!defined('CON_FRAMEWORK')) {
die('Illegal call');
}
global $cfg;
// Try to load GenericDB database driver
2023-05-30 08:51:44 +00:00
$driver_filename = cRegistry::getBackendPath()
. cRegistry::getConfigValue('path', 'classes')
. 'drivers'
. DIRECTORY_SEPARATOR
. cRegistry::getConfigValue('sql', 'gdb_driver')
. DIRECTORY_SEPARATOR
. 'class.gdb.'
. cRegistry::getConfigValue('sql', 'gdb_driver')
. '.php';
if (file_exists($driver_filename)) {
include_once($driver_filename);
}
/**
* Class Contenido_ItemException.
* @author Murat Purc <murat@purc.de>
* @version 0.1
* @copyright four for business AG <www.4fb.de>
*/
2021-01-26 18:41:21 +00:00
class Contenido_ItemException extends Exception {
}
2021-01-26 18:41:21 +00:00
/**
* Class ItemCollection
* Abstract class for database based item collections.
*
* @author Timo A. Hummel <Timo.Hummel@4fb.de>
* @author Murat Purc <murat@purc.de>
* @version 0.2
* @copyright four for business 2003
*/
2023-07-18 20:07:14 +00:00
abstract class ItemCollection extends \ConLite\GenericDb\ItemCollection {
}
/**
* Class Item
* Abstract class for database based items.
*
* @author Timo A. Hummel <Timo.Hummel@4fb.de>
* @author Murat Purc <murat@purc.de>
* @version 0.3
* @copyright four for business 2003
*/
2023-07-18 20:07:14 +00:00
abstract class Item extends \ConLite\GenericDb\Item {
}