|
depage-db v1.4.0
|
Public Member Functions | |
| __construct ($dsn, $username='', $password='', $driver_options=[]) | |
| constructor for PDO object with an additional prefix-parameter in driver-options | |
| __destruct () | |
| removes the pdo object which closes the connection to the database | |
| getPdoObject () | |
| __set ($name, $value) | |
| __get ($name) | |
| __call ($name, $arguments) | |
| __sleep () | |
| allows Depage\Db\Pdo-object to be serialized | |
| __wakeup () | |
| allows Depage\Db\Pdo-object to be unserialized | |
Static Public Member Functions | |
| static | unbuffered () |
| helper function to set unbuffered query options for mysql | |
| static | __callStatic ($name, $arguments) |
| static | parse_dsn ($dsn) |
| parses dsn intro its parts | |
Data Fields | |
| $prefix = "" | |
| __construct | ( | $dsn, | |
| $username = '', | |||
| $password = '', | |||
| $driver_options = [] ) |
| __wakeup | ( | ) |
|
static |