Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentRssCreator
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob

Classes

  • ArticleForum
  • cGenericDb
  • cGenericDbDriver
  • cGenericDbDriverMysql
  • cItemBaseAbstract
  • cItemCache
  • Item
  • ItemCollection
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
 1: <?php
 2: 
 3: /**
 4:  * This file contains the root database driver for the generic db.
 5:  *
 6:  * @package Core
 7:  * @subpackage GenericDB
 8:  * @version SVN Revision $Rev:$
 9:  *
10:  * @author Timo Hummel
11:  * @copyright four for business AG <www.4fb.de>
12:  * @license http://www.contenido.org/license/LIZENZ.txt
13:  * @link http://www.4fb.de
14:  * @link http://www.contenido.org
15:  */
16: 
17: defined('CON_FRAMEWORK') || die('Illegal call: Missing framework initialization - request aborted.');
18: 
19: /**
20:  * Root database driver.
21:  *
22:  * @package Core
23:  * @subpackage GenericDB
24:  */
25: class cGenericDbDriver {
26: 
27:     /**
28:      * @var string
29:      */
30:     protected $_sEncoding;
31: 
32:     /**
33:      * @var Item
34:      */
35:     protected $_oItemClassInstance;
36: 
37:     /**
38:      * @param string $sEncoding
39:      */
40:     public function setEncoding($sEncoding) {
41:         $this->_sEncoding = $sEncoding;
42:     }
43: 
44:     /**
45:      * @param Item $oInstance
46:      */
47:     public function setItemClassInstance($oInstance) {
48:         $this->_oItemClassInstance = $oInstance;
49:     }
50: 
51:     /**
52:      * @param string $destinationTable
53:      * @param string $destinationClass
54:      * @param string $destinationPrimaryKey
55:      * @param string $sourceClass
56:      * @param string $primaryKey
57:      * @return array
58:      */
59:     public function buildJoinQuery($destinationTable, $destinationClass, $destinationPrimaryKey, $sourceClass, $primaryKey) {
60:     }
61: 
62:     /**
63:      * @param string $sField
64:      * @param string $sOperator
65:      * @param string $sRestriction
66:      * @return string
67:      */
68:     public function buildOperator($sField, $sOperator, $sRestriction) {
69:     }
70: }
71: 
CMS CONTENIDO 4.9.8 API documentation generated by ApiGen 2.8.0