Joomla Platform
13.1
Documentation des API du framework Joomla Platform
|
Fonctions membres publiques | |
__construct ($options) | |
__destruct () | |
connect () | |
disconnect () | |
escape ($text, $extra=false) | |
connected () | |
getAffectedRows () | |
getNumRows ($cursor=null) | |
getVersion () | |
insertid () | |
execute () | |
select ($database) | |
setUTF () | |
Fonctions membres publiques inherited from JDatabaseDriverMysqli | |
dropTable ($tableName, $ifExists=true) | |
getCollation () | |
getTableCreate ($tables) | |
getTableColumns ($table, $typeOnly=true) | |
getTableKeys ($table) | |
getTableList () | |
lockTable ($table) | |
renameTable ($oldTable, $newTable, $backup=null, $prefix=null) | |
transactionCommit ($toSavepoint=false) | |
transactionRollback ($toSavepoint=false) | |
transactionStart ($asSavepoint=false) | |
unlockTables () | |
Fonctions membres publiques inherited from JDatabaseDriver | |
__call ($method, $args) | |
alterDbCharacterSet ($dbName) | |
createDatabase ($options, $utf=true) | |
addDisconnectHandler ($callable) | |
getConnection () | |
getCount () | |
getDateFormat () | |
getLog () | |
getTimings () | |
getCallStacks () | |
getMinimum () | |
getNullDate () | |
getPrefix () | |
getExporter () | |
getImporter () | |
getQuery ($new=false) | |
getIterator ($column=null, $class= 'stdClass') | |
getUTFSupport () | |
hasUTFSupport () | |
insertObject ($table, &$object, $key=null) | |
isMinimumVersion () | |
loadAssoc () | |
loadAssocList ($key=null, $column=null) | |
loadColumn ($offset=0) | |
loadNextObject ($class= 'stdClass') | |
loadNextRow () | |
loadObject ($class= 'stdClass') | |
loadObjectList ($key= '', $class= 'stdClass') | |
loadResult () | |
loadRow () | |
loadRowList ($key=null) | |
quote ($text, $escape=true) | |
quoteName ($name, $as=null) | |
replacePrefix ($sql, $prefix= '#__') | |
setDebug ($level) | |
setQuery ($query, $offset=0, $limit=0) | |
truncateTable ($table) | |
updateObject ($table, &$object, $key, $nulls=false) | |
Fonctions membres publiques inherited from JDatabase | |
query () | |
getErrorMsg ($escaped=false) | |
getErrorNum () | |
stderr ($showSQL=false) |
Fonctions membres publiques statiques | |
static | isSupported () |
Attributs publics | |
$name = 'mysql' | |
Attributs publics inherited from JDatabaseDriverMysqli | |
Attributs publics inherited from JDatabaseDriver |
Fonctions membres protégées | |
fetchArray ($cursor=null) | |
fetchAssoc ($cursor=null) | |
fetchObject ($cursor=null, $class= 'stdClass') | |
freeResult ($cursor=null) |
Fonctions membres privées | |
hasProfiling () |
Additional Inherited Members | |
Attributs protégés inherited from JDatabaseDriverMysqli | |
$nameQuote = '`' | |
$nullDate = '0000-00-00 00:00:00' | |
Attributs protégés inherited from JDatabaseDriver | |
$connection | |
$count = 0 | |
$cursor | |
$debug = false | |
$limit = 0 | |
$log = array() | |
$timings = array() | |
$callStacks = array() | |
$offset = 0 | |
$options | |
$sql | |
$tablePrefix | |
$utf = true | |
$errorNum = 0 | |
$errorMsg | |
$transactionDepth = 0 | |
$disconnectHandlers = array() | |
Attributs protégés statiques inherited from JDatabaseDriverMysqli | |
static | $dbMinimum = '5.0.4' |
Attributs protégés statiques inherited from JDatabaseDriver | |
static | $instances = array() |
JDatabaseDriverMysql::__construct | ( | $options | ) |
Constructor.
array | $options | Array of database options with keys: host, user, password, database, select. |
Réimplémentée à partir de JDatabaseDriverMysqli.
Définition à la ligne 37 du fichier mysql.php.
JDatabaseDriverMysql::__destruct | ( | ) |
JDatabaseDriverMysql::connect | ( | ) |
Connects to the database if needed.
RuntimeException |
Réimplémentée à partir de JDatabaseDriverMysqli.
Définition à la ligne 68 du fichier mysql.php.
JDatabaseDriverMysql::connected | ( | ) |
Determines if the connection to the server is active.
Réimplémentée à partir de JDatabaseDriverMysqli.
Définition à la ligne 172 du fichier mysql.php.
JDatabaseDriverMysql::disconnect | ( | ) |
Disconnects the database.
Réimplémentée à partir de JDatabaseDriverMysqli.
Définition à la ligne 113 du fichier mysql.php.
JDatabaseDriverMysql::escape | ( | $text, | |
$extra = false |
|||
) |
Method to escape a string for usage in an SQL statement.
string | $text | The string to be escaped. |
boolean | $extra | Optional parameter to provide extra escaping. |
Réimplémentée à partir de JDatabaseDriverMysqli.
Définition à la ligne 139 du fichier mysql.php.
JDatabaseDriverMysql::execute | ( | ) |
Execute the SQL statement.
RuntimeException |
Réimplémentée à partir de JDatabaseDriverMysqli.
Définition à la ligne 248 du fichier mysql.php.
Références JLog\add(), JLog\DEBUG, JLog\ERROR, et JText\sprintf().
|
protected |
Method to fetch a row from the result set cursor as an array.
mixed | $cursor | The optional result set cursor from which to fetch the row. |
Réimplémentée à partir de JDatabaseDriverMysqli.
|
protected |
Method to fetch a row from the result set cursor as an associative array.
mixed | $cursor | The optional result set cursor from which to fetch the row. |
Réimplémentée à partir de JDatabaseDriverMysqli.
|
protected |
Method to fetch a row from the result set cursor as an object.
mixed | $cursor | The optional result set cursor from which to fetch the row. |
string | $class | The class name to use for the returned row object. |
Réimplémentée à partir de JDatabaseDriverMysqli.
|
protected |
Method to free up the memory used for the result set.
mixed | $cursor | The optional result set cursor from which to fetch the row. |
Réimplémentée à partir de JDatabaseDriverMysqli.
JDatabaseDriverMysql::getAffectedRows | ( | ) |
Get the number of affected rows for the previous executed SQL statement.
Réimplémentée à partir de JDatabaseDriverMysqli.
JDatabaseDriverMysql::getNumRows | ( | $cursor = null | ) |
Get the number of returned rows for the previous executed SQL statement.
resource | $cursor | An optional database cursor resource to extract the row count from. |
Réimplémentée à partir de JDatabaseDriverMysqli.
JDatabaseDriverMysql::getVersion | ( | ) |
Get the version of the database connector.
Réimplémentée à partir de JDatabaseDriverMysqli.
|
private |
Internal function to check if profiling is available
Réimplémentée à partir de JDatabaseDriverMysqli.
Définition à la ligne 449 du fichier mysql.php.
JDatabaseDriverMysql::insertid | ( | ) |
Method to get the auto-incremented value from the last INSERT statement.
Réimplémentée à partir de JDatabaseDriverMysqli.
|
static |
Test to see if the MySQL connector is available.
Réimplémentée à partir de JDatabaseDriverMysqli.
Définition à la ligne 160 du fichier mysql.php.
JDatabaseDriverMysql::select | ( | $database | ) |
Select a database for use.
string | $database | The name of the database to select for use. |
RuntimeException |
Réimplémentée à partir de JDatabaseDriverMysqli.
Définition à la ligne 354 du fichier mysql.php.
JDatabaseDriverMysql::setUTF | ( | ) |
Set the connection to use UTF-8 character encoding.
Réimplémentée à partir de JDatabaseDriverMysqli.
JDatabaseDriverMysql::$name = 'mysql' |
Réimplémentée à partir de JDatabaseDriverMysqli.