Class AwlDatabase
Typically there will only be a single instance of the database level class in an application.
- AwlDBDialect
-
AwlDatabase
Package: awl\AwlDatabase
Copyright: Morphoss Ltd
License: GNU GPL v3 or later
Author: Andrew McMillan <andrew@morphoss.com>
Located at AwlDatabase.php
Copyright: Morphoss Ltd
License: GNU GPL v3 or later
Author: Andrew McMillan <andrew@morphoss.com>
Located at AwlDatabase.php
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
integer
|
#
TransactionState( )
Returns the current state of a transaction, indicating if we have begun a transaction, whether the transaction has failed, or if we are not in a transaction. |
public
|
#
PrepareTranslated( mixed $statement, mixed $driver_options = array() )
Operates identically to AwlDatabase::Prepare, except that $this->Translate() will be called on the query before any processing. |
public
|
#
TranslateAll( mixed $onoff_boolean )
Switches on or off the processing flag controlling whether subsequent calls to AwlDatabase::Prepare are translated as if PrepareTranslated() had been called. |
public
|
GetFields(),
GetVersion(),
Quote(),
ReplaceNamedParameters(),
ReplaceParameters(),
SetSearchPath(),
TranslateSQL(),
__construct()
|
HttpDateFormat,
SqlDateFormat,
SqlDurationFormat,
SqlUTCFormat
|
protected
integer
|
$txnstate | 0 |
#
Holds the state of the transaction 0 = not started, 1 = in progress, -1 = error pending rollback/commit |
protected
boolean
|
$translate_all | false |
#
Holds whether we are translating all statements. |
$db,
$dialect
|