Database connector class.
Located in /libraries/joomla/database/database.php (line 20)
Class | Description |
---|---|
![]() |
Joomla Platform Database Driver Class |
Get a list of available database connectors. The list will only be populated with connectors that both the class exists and the static test method returns true. This gives us the ability to have a multitude of connector classes that are self-aware as to whether or not they are able to be used on a given system.
Method to return a JDatabaseDriver instance based on the given options. There are three global options and then
the rest are specific to the database driver. The 'driver' option defines which JDatabaseDriver class is used for the connection -- the default is 'mysqli'. The 'database' option determines which database is to be used for the connection. The 'select' option determines whether the connector should automatically select the chosen database.
Instances are unique to the given options and new objects are only created when a unique options array is passed into the method. This ensures that we don't end up with unnecessary database connection resources.
Splits a string of multiple queries into an array of individual queries.
Test to see if the connector is available.
Gets the error message from the database connection.
Return the most recent error message for the database connector.
Documentation generated on Tue, 19 Nov 2013 14:57:48 +0100 by phpDocumentor 1.4.3