Development Doctrine_Adapter_Oracle
Doctrine Adapter Oracle
Doctrine_Adapter_Oracle [BORROWED FROM ZEND FRAMEWORK]
Method Summary
| Returns | Name | Description |
|---|---|---|
| closeConnection | ||
| Doctrine_Statement_Oracle | prepare | |
| string | quoteTableAs | |
| setFetchMode | ||
| _beginTransaction | ||
| _commit | ||
| _connect | ||
| _getExecuteMode | ||
| string | _quote | |
| _rollBack | ||
| __construct | $config is an array of key/value pairs containing configuration options. These options are common to most adapters: username => (string) Connect to the database as this username. password => (string) Password associated with the username. dbname |
Method Details
-
closeConnection()
Force the connection to close.
-
$sql The SQL statement with placeholders. (Doctrine_Statement_Oracle) prepare($sql)
Returns an SQL statement for preparation.
-
$ident The identifier or expression. $alias An alias for the table. (string) quoteTableAs((string|array|Doctrine_Expr) $ident, $alias)
Quote a table identifier and alias.
Doctrine_Adapter_Oracle
-
$mode A fetch mode. setFetchMode($mode)
Set the fetch mode.
throws Doctrine_Adapter_Exception
-
_beginTransaction()
Leave autocommit mode and begin a transaction.
-
_commit()
Commit a transaction and return to autocommit mode.
throws Doctrine_Adapter_Oracle_Exception
-
_connect()
Creates a connection resource.
throws Doctrine_Adapter_Oracle_Exception
-
_getExecuteMode()
-
$value Raw string (string) _quote($value)
Quote a raw string.
Doctrine_Adapter_Oracle
-
_rollBack()
Roll back a transaction and return to autocommit mode.
throws Doctrine_Adapter_Oracle_Exception
-
$config An array of configuration keys. __construct($config)
Constructor.
$config is an array of key/value pairs containing configuration options. These options are common to most adapters:
username => (string) Connect to the database as this username. password => (string) Password associated with the username. dbnamethrows Doctrine_Adapter_Exception