Common Database Abstraction Layer
Parent class that our database driver classes should be extending. Contains basic functionality for instantiation and interfacing.
Located in /classes/Database/Common.php (line 24)
Object | --Database_Common
Whether or not to use caching
Connection resource
Database name for the server
Driver
Hostname for the server
Password for the server
Port number for the server
Results object for the executed statement
UNIX socket for the server
Username for the server
Constructor
Closes database connection
Sets the connection to null regardless of state.
Get Cache
Returns the status of caching for this datasource.
Get Driver
Returns the name of the driver in use. Used by the Model class to determine which path to take when interfacing with the Database object.
Opens database connection
Establishes a connection to the MySQL database based on the configuration options that are available in the Config object.
Set Cache
Set Database
Set Hostname
Set Password
Set Port
Set Socket
Set Username
Documentation generated on Wed, 03 Oct 2012 17:46:05 -0400 by phpDocumentor 1.4.4