Auth_OpenID_DatabaseConnection Klassenreferenz


Öffentliche Methoden

 autoCommit ($mode)
 query ($sql, $params=array())
 begin ()
 commit ()
 rollback ()
 getOne ($sql, $params=array())
 getRow ($sql, $params=array())
 getAll ($sql, $params=array())

Ausführliche Beschreibung

Definiert in Zeile 25 der Datei DatabaseConnection.php.


Dokumentation der Elementfunktionen

autoCommit ( mode  ) 

Sets auto-commit mode on this database connection.

Parameter:
bool $mode True if auto-commit is to be used; false if not.

Definiert in Zeile 32 der Datei DatabaseConnection.php.

00033     {
00034     }

begin (  ) 

Starts a transaction on this connection, if supported.

Definiert in Zeile 58 der Datei DatabaseConnection.php.

00059     {
00060     }

commit (  ) 

Commits a transaction on this connection, if supported.

Definiert in Zeile 65 der Datei DatabaseConnection.php.

00066     {
00067     }

getAll ( sql,
params = array() 
)

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

Parameter:
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.
Rückgabe:
array $result An array of arrays representing the result of the query; each array is keyed on column name.

Definiert in Zeile 126 der Datei DatabaseConnection.php.

00127     {
00128     }

getOne ( sql,
params = array() 
)

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

Parameter:
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.
Rückgabe:
mixed $result The value of the first column of the first row of the result set. False if no such result was found.

Definiert in Zeile 91 der Datei DatabaseConnection.php.

00092     {
00093     }

getRow ( sql,
params = array() 
)

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

Parameter:
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.
Rückgabe:
array $result The first row of the result set, if any, keyed on column name. False if no such result was found.

Definiert in Zeile 109 der Datei DatabaseConnection.php.

00110     {
00111     }

query ( sql,
params = array() 
)

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

Parameter:
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.
Rückgabe:
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.

Definiert in Zeile 51 der Datei DatabaseConnection.php.

00052     {
00053     }

rollback (  ) 

Performs a rollback on this connection, if supported.

Definiert in Zeile 72 der Datei DatabaseConnection.php.

00073     {
00074     }


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:
Copyright © 2003 - 2009 MyOOS [Shopsystem]. All rights reserved.
MyOOS [Shopsystem] is Free Software released under the GNU/GPL License.

Webmaster: info@r23.de (Impressum)
doxygen