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
Class | Description |
---|---|
Database_Mongo | Mongo Database Abstraction Layer |
Database_PDO_Common | PDO Abstraction Layer |
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
Inherited from Object
Object::$config
Object::$instances
Constructor
Closes database connection
Sets the connection to null regardless of state.
Opens database connection
Establishes a connection to the MySQL database based on the configuration options that are available in the Config object.
Set Database
Set Hostname
Set Password
Set Port
Set Socket
Set Username
Inherited From Object
Object::__construct()
Object::getInstance()
Object::__destruct()
Documentation generated on Sun, 17 Oct 2010 23:17:22 -0400 by phpDocumentor 1.4.3