ILIAS
Release_4_2_x_branch Revision 61807
|
Public Member Functions | |
autoCommit ($mode) | |
Sets auto-commit mode on this database connection. | |
query ($sql, $params=array()) | |
Run an SQL query with the specified parameters, if any. | |
begin () | |
Starts a transaction on this connection, if supported. | |
commit () | |
Commits a transaction on this connection, if supported. | |
rollback () | |
Performs a rollback on this connection, if supported. | |
getOne ($sql, $params=array()) | |
Run an SQL query and return the first column of the first row of the result set, if any. | |
getRow ($sql, $params=array()) | |
Run an SQL query and return the first row of the result set, if any. | |
getAll ($sql, $params=array()) | |
Run an SQL query with the specified parameters, if any. |
Definition at line 25 of file DatabaseConnection.php.
Auth_OpenID_DatabaseConnection::autoCommit | ( | $mode | ) |
Sets auto-commit mode on this database connection.
bool | $mode | True if auto-commit is to be used; false if not. |
Definition at line 32 of file DatabaseConnection.php.
Auth_OpenID_DatabaseConnection::begin | ( | ) |
Starts a transaction on this connection, if supported.
Definition at line 58 of file DatabaseConnection.php.
Auth_OpenID_DatabaseConnection::commit | ( | ) |
Commits a transaction on this connection, if supported.
Definition at line 65 of file DatabaseConnection.php.
Auth_OpenID_DatabaseConnection::getAll | ( | $sql, | |
$params = array() |
|||
) |
Run an SQL query with the specified parameters, if any.
string | $sql | An SQL string with placeholders. The placeholders are assumed to be specific to the database engine for this connection. |
array | $params | An array of parameters to insert into the SQL string using this connection's escaping mechanism. |
Definition at line 126 of file DatabaseConnection.php.
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.
string | $sql | An SQL string with placeholders. The placeholders are assumed to be specific to the database engine for this connection. |
array | $params | An array of parameters to insert into the SQL string using this connection's escaping mechanism. |
Definition at line 91 of file DatabaseConnection.php.
Auth_OpenID_DatabaseConnection::getRow | ( | $sql, | |
$params = array() |
|||
) |
Run an SQL query and return the first row of the result set, if any.
string | $sql | An SQL string with placeholders. The placeholders are assumed to be specific to the database engine for this connection. |
array | $params | An array of parameters to insert into the SQL string using this connection's escaping mechanism. |
Definition at line 109 of file DatabaseConnection.php.
Auth_OpenID_DatabaseConnection::query | ( | $sql, | |
$params = array() |
|||
) |
Run an SQL query with the specified parameters, if any.
string | $sql | An SQL string with placeholders. The placeholders are assumed to be specific to the database engine for this connection. |
array | $params | An array of parameters to insert into the SQL string using this connection's escaping mechanism. |
Definition at line 51 of file DatabaseConnection.php.
Auth_OpenID_DatabaseConnection::rollback | ( | ) |
Performs a rollback on this connection, if supported.
Definition at line 72 of file DatabaseConnection.php.