API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5

Référence de la classe Auth_OpenID_DatabaseConnection

Liste de tous les membres

Fonctions membres publiques


Documentation des fonctions membres

Auth_OpenID_DatabaseConnection::autoCommit ( mode)

Sets auto-commit mode on this database connection.

Paramètres:
bool$modeTrue if auto-commit is to be used; false if not.
Auth_OpenID_DatabaseConnection::begin ( )

Starts a transaction on this connection, if supported.

Auth_OpenID_DatabaseConnection::commit ( )

Commits a transaction on this connection, if supported.

Auth_OpenID_DatabaseConnection::getAll ( sql,
params = array() 
)

Run an SQL query with the specified parameters, if any.

Paramètres:
string$sqlAn SQL string with placeholders. The placeholders are assumed to be specific to the database engine for this connection.
array$paramsAn array of parameters to insert into the SQL string using this connection's escaping mechanism.
Renvoie:
array $result An array of arrays representing the result of the query; each array is keyed on column name.
Auth_OpenID_DatabaseConnection::getOne ( sql,
params = array() 
)

Run an SQL query and return the first column of the first row of the result set, if any.

Paramètres:
string$sqlAn SQL string with placeholders. The placeholders are assumed to be specific to the database engine for this connection.
array$paramsAn array of parameters to insert into the SQL string using this connection's escaping mechanism.
Renvoie:
mixed $result The value of the first column of the first row of the result set. False if no such result was found.
Auth_OpenID_DatabaseConnection::getRow ( sql,
params = array() 
)

Run an SQL query and return the first row of the result set, if any.

Paramètres:
string$sqlAn SQL string with placeholders. The placeholders are assumed to be specific to the database engine for this connection.
array$paramsAn array of parameters to insert into the SQL string using this connection's escaping mechanism.
Renvoie:
array $result The first row of the result set, if any, keyed on column name. False if no such result was found.
Auth_OpenID_DatabaseConnection::query ( sql,
params = array() 
)

Run an SQL query with the specified parameters, if any.

Paramètres:
string$sqlAn SQL string with placeholders. The placeholders are assumed to be specific to the database engine for this connection.
array$paramsAn array of parameters to insert into the SQL string using this connection's escaping mechanism.
Renvoie:
mixed $result The result of calling this connection's internal query function. The type of result depends on the underlying database engine. This method is usually used when the result of a query is not important, like a DDL query.
Auth_OpenID_DatabaseConnection::rollback ( )

Performs a rollback on this connection, if supported.


La documentation de cette classe a été générée à partir du fichier suivant :