Implementation of an adapter using the mySQL functions.
| see | \global\WebLab_Data_Adapter |
|---|---|
| author | Jorgen Evens |
| package | WebLab |
| subpackage | Data |
__construct(mixed $config)
mixed
escape_string(string $str)
string
getAdapterSpecification() : object
This returns a reference to escape_string() and the wildcard.
| see | \$_wildcard |
|---|---|
| see | \escape_string() |
| see | \getAdapterSpecs() |
objectgetAdapterSpecs() : object
This returns a reference to escape_string() and the wildcard.
| see | \escape_string() |
|---|---|
| see | \$_wildcard |
objectgetPrefix() : string
stringinsert_id() : mixed
mixedisConnected() : boolean
booleanquery(string $query)
Prefixes the query tables if a prefix is specified.
string
quitTransaction(boolean $commit)
When transaction depth reaches 0 transaction will be commited.
When performing a rollback, transaction depth will be reset to 0 and the entire tree will be rolled back.
boolean
startTransaction()
_query(string $query)
string
_quit_transaction(boolean $commit)
boolean
_start_transaction()
$error : string
$_original_strings : array
$_prefix : string
$_resource : resource
$_transaction_depth : int
This allows for transaction nesting.
| see | \startTransaction() |
|---|
$_wildcard : string