Database Factory
Generic class to simplify connecting to a database. All database objects should be created by this class to future proof against any internal changes to PICKLES.
Located in /classes/Database.php (line 25)
Object | --Database
Get instance
Looks up the datasource using the passed name and gets an instance of it. Allows for easy sharing of certain classes within the system to avoid the extra overhead of creating new objects each time. Also avoids the hassle of passing around variables (yeah I know, very global-ish)
Constructor
Attempts to get an instance of the passed database type or attempts to use a default specified in the config.
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