| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Source view] [Print] [Project Stats]
The Auth_OpenID_DatabaseConnection class, which is used to emulate a PEAR database connection.
| Author: | JanRain, Inc. <openid@janrain.com> |
| Copyright: | 2005-2008 Janrain, Inc. |
| License: | http://www.apache.org/licenses/LICENSE-2.0 Apache |
| File Size: | 134 lines (4 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Class: Auth_OpenID_DatabaseConnection - X-Ref
An empty base class intended to emulate PEAR connection| autoCommit($mode) X-Ref |
| Sets auto-commit mode on this database connection. param: bool $mode True if auto-commit is to be used; false if |
| query($sql, $params = array() X-Ref |
| Run an SQL query with the specified parameters, if any. param: string $sql An SQL string with placeholders. The param: array $params An array of parameters to insert into the return: mixed $result The result of calling this connection's |
| begin() X-Ref |
| Starts a transaction on this connection, if supported. |
| commit() X-Ref |
| Commits a transaction on this connection, if supported. |
| rollback() X-Ref |
| Performs a rollback on this connection, if supported. |
| getOne($sql, $params = array() X-Ref |
| Run an SQL query and return the first column of the first row of the result set, if any. param: string $sql An SQL string with placeholders. The param: array $params An array of parameters to insert into the return: mixed $result The value of the first column of the |
| getRow($sql, $params = array() X-Ref |
| Run an SQL query and return the first row of the result set, if any. param: string $sql An SQL string with placeholders. The param: array $params An array of parameters to insert into the return: array $result The first row of the result set, if any, |
| getAll($sql, $params = array() X-Ref |
| Run an SQL query with the specified parameters, if any. param: string $sql An SQL string with placeholders. The param: array $params An array of parameters to insert into the return: array $result An array of arrays representing the |
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |