Joomla CMS
2.5.24 (avec JPlatform 11.4 inclus)
Documentation des API du CMS Joomla en version 2.5 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
__destruct () | |
escape ($text, $extra=false) | |
connected () | |
getAffectedRows () | |
getExporter () | |
getImporter () | |
getNumRows ($cursor=null) | |
getQuery ($new=false) | |
getVersion () | |
hasUTF () | |
insertid () | |
execute () | |
select ($database) | |
setUTF () | |
queryBatch ($abortOnError=true, $transactionSafe=false) | |
Fonctions membres publiques inherited from JDatabaseMySQL | |
dropTable ($tableName, $ifExists=true) | |
getCollation () | |
getTableCreate ($tables) | |
getTableColumns ($table, $typeOnly=true) | |
getTableKeys ($table) | |
getTableList () | |
lockTable ($table) | |
renameTable ($oldTable, $newTable, $backup=null, $prefix=null) | |
transactionCommit () | |
transactionRollback () | |
transactionStart () | |
explain () | |
unlockTables () | |
Fonctions membres publiques inherited from JDatabase | |
__call ($method, $args) | |
addQuoted ($quoted) | |
getConnection () | |
getCount () | |
getDateFormat () | |
getLimit () | |
getLog () | |
getMinimum () | |
getNullDate () | |
getOffset () | |
getPrefix () | |
getUTFSupport () | |
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) | |
query () | |
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) | |
debug ($level) | |
getErrorMsg ($escaped=false) | |
getErrorNum () | |
getEscaped ($text, $extra=false) | |
getTableFields ($tables, $typeOnly=true) | |
getTicker () | |
isQuoted ($field) | |
loadResultArray ($offset=0) | |
nameQuote ($name) | |
stderr ($showSQL=false) |
Fonctions membres publiques statiques | |
static | test () |
Attributs publics | |
$name = 'mysqli' | |
Attributs publics inherited from JDatabaseMySQL | |
Attributs publics inherited from JDatabase |
Fonctions membres protégées | |
__construct ($options) | |
fetchArray ($cursor=null) | |
fetchAssoc ($cursor=null) | |
fetchObject ($cursor=null, $class= 'stdClass') | |
freeResult ($cursor=null) |
Additional Inherited Members | |
Attributs protégés inherited from JDatabaseMySQL | |
$nameQuote = '`' | |
$nullDate = '0000-00-00 00:00:00' | |
$dbMinimum = '5.0.4' | |
Attributs protégés inherited from JDatabase | |
$connection | |
$count = 0 | |
$cursor | |
$debug = false | |
$limit = 0 | |
$log = array() | |
$offset = 0 | |
$sql | |
$tablePrefix | |
$utf = true | |
$errorNum = 0 | |
$errorMsg | |
$hasQuoted = false | |
$quoted = array() |
|
protected |
Constructor.
array | $options | List of options used to configure the connection |
Réimplémentée à partir de JDatabaseMySQL.
Références JError\$legacy, $options, JText\_(), JDatabase\__construct(), et null.
JDatabaseMySQLi::__destruct | ( | ) |
JDatabaseMySQLi::connected | ( | ) |
Determines if the connection to the server is active.
Réimplémentée à partir de JDatabaseMySQL.
JDatabaseMySQLi::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 JDatabaseMySQL.
Références $text.
JDatabaseMySQLi::execute | ( | ) |
Execute the SQL statement.
JDatabaseException |
Réimplémentée à partir de JDatabaseMySQL.
Références JError\$legacy, $limit, JLog\add(), JLog\DEBUG, JLog\ERROR, JError\raiseError(), 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 JDatabaseMySQL.
|
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 JDatabaseMySQL.
|
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 JDatabaseMySQL.
Références $class.
|
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 JDatabaseMySQL.
JDatabaseMySQLi::getAffectedRows | ( | ) |
Get the number of affected rows for the previous executed SQL statement.
Réimplémentée à partir de JDatabaseMySQL.
JDatabaseMySQLi::getExporter | ( | ) |
Gets an exporter class object.
JDatabaseException |
Réimplémentée à partir de JDatabaseMySQL.
Références JText\_().
JDatabaseMySQLi::getImporter | ( | ) |
Gets an importer class object.
JDatabaseException |
Réimplémentée à partir de JDatabaseMySQL.
Références JText\_().
JDatabaseMySQLi::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 JDatabaseMySQL.
JDatabaseMySQLi::getQuery | ( | $new = false | ) |
Get the current or query, or new JDatabaseQuery object.
boolean | $new | False to return the last query set, True to return a new JDatabaseQuery object. |
JDatabaseException |
Réimplémentée à partir de JDatabaseMySQL.
Références JText\_().
JDatabaseMySQLi::getVersion | ( | ) |
Get the version of the database connector.
Réimplémentée à partir de JDatabaseMySQL.
JDatabaseMySQLi::hasUTF | ( | ) |
Determines if the database engine supports UTF-8 character encoding.
Réimplémentée à partir de JDatabaseMySQL.
Références JLog\add(), et JLog\WARNING.
JDatabaseMySQLi::insertid | ( | ) |
Method to get the auto-incremented value from the last INSERT statement.
Réimplémentée à partir de JDatabaseMySQL.
Execute a query batch.
boolean | $abortOnError | Abort on error. |
boolean | $transactionSafe | Transaction safe queries. |
Réimplémentée à partir de JDatabaseMySQL.
Références $query, JLog\add(), et JLog\WARNING.
JDatabaseMySQLi::select | ( | $database | ) |
Select a database for use.
string | $database | The name of the database to select for use. |
JDatabaseException |
Réimplémentée à partir de JDatabaseMySQL.
Références JError\$legacy, et JText\_().
JDatabaseMySQLi::setUTF | ( | ) |
Set the connection to use UTF-8 character encoding.
Réimplémentée à partir de JDatabaseMySQL.
|
static |
Test to see if the MySQL connector is available.
Réimplémentée à partir de JDatabaseMySQL.
JDatabaseMySQLi::$name = 'mysqli' |
Réimplémentée à partir de JDatabaseMySQL.