JDatabase| Class | Description |
|---|---|
JDatabaseMySQL
|
MySQL database driver |
JDatabaseMySQLi
|
MySQLi database driver |
JDatabase
__construct
([string $host = 'localhost'], string $user, string $pass, [string $db = ''], [string $table_prefix = ''])
database
&getInstance
([string $driver = 'MySQL'], [string $host = 'localhost'], string $user, string $pass, [string $db = ''], [string $table_prefix = ''])
void
insertObject
(string $table, object &$object, [string $keyName = NULL], [boolean $verbose = false])
void
PageExecute
(mixed $sql, mixed $nrows, mixed $page, [mixed $inputarr = false], mixed $secs2cache)
Internal
$_cursor
= null (line 38)
boolean
$_debug
= 0 (line 40)
string
$_errorMsg
= '' (line 32)
int
$_errorNum
= 0 (line 30)
bool
$_hasQuoted
= null (line 67)
int
$_limit
= 0 (line 42)
array
$_log
= null (line 48)
int
$_offset
= 0 (line 44)
array
$_quoted
= null (line 62)
Internal
$_resource
= '' (line 36)
string
$_sql
= '' (line 28)
string
$_table_prefix
= '' (line 34)
int
$_ticker
= 0 (line 46)
boolean
$_utf
= 0 (line 57)
Database object constructor
Adds a field or array of field names to the list that are to be quoted
Diagnostic function
ADODB compatability function
Get a database escaped string
Returns a reference to the global Database object, only creating it if it doesn't already exist.
Determines UTF support
Checks if field name needs to be quoted
Load a assoc list of database rows
This global function loads the first row of a query into an object If an object is passed to this function, the returned row is bound to the existing elements of object. If object has a value of null, then all of the returned query fields returned in the object.
Load a list of database objects
This method loads the first field of the first row returned by the query.
Load an array of single field results into an array
Load a list of database rows (numeric column indexing)
Quote an identifier name (field, table, etc)
ADODB compatability function
Execute the query
Execute a batch query
This function replaces a string identifier $prefix with the string held is the _table_prefix class variable.
ADODB compatability function
Sets the SQL query string for later execution.
This function replaces a string identifier $prefix with the string held is the _table_prefix class variable.
Custom settings for UTF support
Inherited From JObject
JObject::__construct()
JObject::JObject()
JObject::get()
JObject::set()
JObject::toString()
JObject::__destruct()
Documentation generated on Sat, 4 Feb 2006 14:23:12 +0100 by phpDocumentor 1.3.0RC4