Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques statiques | |
static | isSupported () |
Fonctions membres publiques statiques hérités de FOFDatabase | |
static | getConnectors () |
static | getInstance ($options=array()) |
static | splitSql ($query) |
static | test () |
Fonctions membres protégées | |
freeResult ($cursor=null) | |
quoteNameStr ($strArr) | |
Attributs protégés | |
$nameQuote = '' | |
Attributs privés | |
$dbo | |
Joomla! pass-through database driver.
__construct | ( | $options = array() | ) |
Database object constructor
array | $options | List of options used to configure the connection |
__call | ( | $name, | |
array | $arguments | ||
) |
Magic method to proxy all calls to the loaded database driver object
Références $name.
close | ( | ) |
Références elseif.
connect | ( | ) |
connected | ( | ) |
disconnect | ( | ) |
dropTable | ( | $table, | |
$ifExists = true |
|||
) |
execute | ( | ) |
|
protected |
getAffectedRows | ( | ) |
getCollation | ( | ) |
getConnection | ( | ) |
Références null.
getCount | ( | ) |
getDateFormat | ( | ) |
getErrorMsg | ( | $escaped = false | ) |
Gets the error message from the database connection.
boolean | $escaped | True to escape the message string for use in JavaScript. |
getErrorNum | ( | ) |
Gets the error number from the database connection.
getLog | ( | ) |
getMinimum | ( | ) |
getNullDate | ( | ) |
getNumRows | ( | $cursor = null | ) |
getTableColumns | ( | $table, | |
$typeOnly = true |
|||
) |
getTableCreate | ( | $tables | ) |
getTableKeys | ( | $tables | ) |
getTableList | ( | ) |
getVersion | ( | ) |
insertid | ( | ) |
Références null.
|
static |
loadAssoc | ( | ) |
Références null.
loadColumn | ( | $offset = 0 | ) |
Method to get an array of values from the $offset field in each row of the result set from the database query.
integer | $offset | The row offset to use to build the result array. |
RuntimeException |
Références $offset.
loadResult | ( | ) |
Références null.
loadRow | ( | ) |
Références null.
lockTable | ( | $tableName | ) |
open | ( | ) |
Références elseif.
quoteName | ( | $name, | |
$as = null |
|||
) |
Wrap an SQL statement identifier name such as column, table or database names in quotes to prevent injection risks and reserved word conflicts.
mixed | $name | The identifier name to wrap in quotes, or an array of identifier names to wrap in quotes. Each type supports dot-notation name. |
mixed | $as | The AS query part associated to $name. It can be string or array, in latter case it has to be same length of $name; if is null there will not be any AS part for string or array element. |
|
protected |
Quote strings coming from quoteName call.
array | $strArr | Array of strings coming from quoteName dot-explosion. |
Références $parts.
select | ( | $database | ) |
setUtf | ( | ) |
stderr | ( | $showSQL = false | ) |
Return the most recent error message for the database connector.
boolean | $showSQL | True to display the SQL statement sent to the database as well as the error. |
transactionCommit | ( | $toSavepoint = false | ) |
transactionRollback | ( | $toSavepoint = false | ) |
transactionStart | ( | $asSavepoint = false | ) |
unlockTables | ( | ) |
|
private |
|
protected |