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:  *
 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:     /**
27:      * @var string
28:      */
29:     protected $_sEncoding;
30: 
31:     /**
32:      * @var Item
33:      */
34:     protected $_oItemClassInstance;
35: 
36:     /**
37:      * @param string $sEncoding
38:      */
39:     public function setEncoding($sEncoding) {
40:         $this->_sEncoding = $sEncoding;
41:     }
42: 
43:     /**
44:      * @param Item $oInstance
45:      */
46:     public function setItemClassInstance($oInstance) {
47:         $this->_oItemClassInstance = $oInstance;
48:     }
49: 
50:     /**
51:      * @param string $destinationTable
52:      * @param string $destinationClass
53:      * @param string $destinationPrimaryKey
54:      * @param string $sourceClass
55:      * @param string $primaryKey
56:      * @return array
57:      */
58:     public function buildJoinQuery($destinationTable, $destinationClass, $destinationPrimaryKey, $sourceClass, $primaryKey) {
59:     }
60: 
61:     /**
62:      * @param string $sField
63:      * @param string $sOperator
64:      * @param string $sRestriction
65:      * @return string
66:      */
67:     public function buildOperator($sField, $sOperator, $sRestriction) {
68:     }
69: }
70: 
CMS CONTENIDO 4.9.11 API documentation generated by ApiGen 2.8.0