abstract, extends
JObject
, located in /
joomla/database/database.php
This is the base database connector class. There are two core subclasses (sometimes called drivers or adapters), JDatabaseMySQL
and JDatabaseMySQLi
. Additional subclasses, enabling support for other database servers may be included with future releases of Joomla!. For more information about the JDatabase
class refer to Chapter 3, The Database.
Result of last | |
Debug mode: 0=disabled, 1=enabled | |
Error message from last query | |
Error number from last query | |
There are specific field names to be quoted | |
Maximum number of records to return from a query | |
Query history (only if debug is enabled) | |
Named SQL element quotes (tables, fields, databases) | |
Null date string | |
Record offset | |
Array of values that should be quoted | |
Database resource | |
Current query | |
Database table prefix, default is 'jos_' | |
Number of queries executed (only if debug is enabled) | |
Indicates whether the database supports UTF-8 |
JObject::JObject()
JObject::__construct()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::getPublicProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::toString()
The following methods are included in the JDatabase
class to provide emulation of ADOdb functions. Most methods are empty functions that would require further implementation to work. MySQL and MySQLi databases do not support ADOdb.
This method emulates ADOdb functionality; it must be overridden in subclasses. If you intend to use this method you must ensure that the database driver supports it. void BeginTrans()
|