Overview

Packages

  • Auth
    • Ads
    • Ldap
    • Xoops
  • Autotasks
  • Config
    • Category
    • Item
    • Option
  • Core
    • Filesystem
    • Filters
    • Logger
    • Mail
    • Message
    • Password
    • Security
    • StopSpammer
    • Template
    • Textsanitizer
    • VersionChecker
  • Data
    • Avatar
    • Comment
  • Database
    • Connection
    • Criteria
    • Legacy
    • MySQL
    • PDO
    • Updater
  • Feeds
    • RSS
  • File
  • Form
    • Base
    • Elements
  • ICMS
    • IPF
      • View
  • Image
    • Category
  • Ipf
    • Category
    • Controller
    • Export
    • form
    • Keyhighlighter
    • Member
    • Object
    • Permission
    • richfile
    • Tree
    • urllink
    • View
  • kernel
    • Set
  • Member
    • Group
    • GroupMembership
    • GroupPermission
    • User
  • Messaging
  • Module
  • None
  • Notification
  • Page
  • Plugins
    • Editor
  • Preload
    • Libraries
  • Privmessage
  • Session
  • SmartObject
  • View
    • Block
    • Breadcrumb
    • PageNav
    • PrinterFriendly
    • Template
    • Templates
    • Theme
    • Tree

Classes

  • icms_db_Connection
  • icms_db_Factory
  • icms_db_legacy_Factory

Interfaces

  • icms_db_IUtility
  • icms_db_legacy_IDatabase
  • Overview
  • Package
  • Class

Class icms_db_Factory

Direct known subclasses

icms_db_legacy_Factory
Abstract
Package: Database
Category: ICMS
Copyright: copyright (c) 2000-2007 XOOPS.org
Copyright: The ImpressCMS Project http://www.impresscms.org
License: GNU General Public License (GPL)
Located at db/Factory.php
Methods summary
public static
# pdoInstance( )

Instanciate the PDO compatible DB adapter (if appropriate).

Instanciate the PDO compatible DB adapter (if appropriate).

Throws

RuntimeException

Copyright

The ImpressCMS Project http://www.impresscms.org
public static object
# instance( )

Get a reference to the only instance of database class and connects to DB

Get a reference to the only instance of database class and connects to DB

if the class has not been instantiated yet, this will also take care of that

Returns

object
Reference to the only instance of database class

Copyright

copyright (c) 2000-2007 XOOPS.org

Author

modified by arcandier, The ImpressCMS Project
Properties summary
protected static icms_db_IConnection $pdoInstance

PDO database adapter. It represents a PDO connection only Access this as icms::$db

PDO database adapter. It represents a PDO connection only Access this as icms::$db

Copyright

The ImpressCMS Project http://www.impresscms.org
# FALSE
protected static icms_db_legacy_Database $xoopsInstance

Legacy database adapter - it can represent a legacy database connection or a PDO connection. Access this as icms::$xoopsDB

Legacy database adapter - it can represent a legacy database connection or a PDO connection. Access this as icms::$xoopsDB

# FALSE
API documentation generated by ApiGen