Definition at line 15 of file Pdo.php.
|
| | __construct ($dsn, $username='', $password='', $driver_options=array()) |
| | 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
|
◆ __construct()
| __construct |
( |
| $dsn, |
|
|
| $username = '', |
|
|
| $password = '', |
|
|
| $driver_options = array() ) |
- Parameters
-
| string | dsn dsn for pdo-object |
| string | username username for database |
| string | password password for database |
| array | $driver_options | database-driver options with additional prefix-entry |
- Returns
- void
Definition at line 34 of file Pdo.php.
◆ __destruct()
- Returns
- void
Definition at line 54 of file Pdo.php.
◆ __call()
| __call |
( |
| $name, |
|
|
| $arguments ) |
◆ __callStatic()
| __callStatic |
( |
| $name, |
|
|
| $arguments ) |
|
static |
◆ __get()
◆ __set()
◆ __sleep()
◆ __wakeup()
We don't need to initialize the connection because we are already initializing them late.
Definition at line 147 of file Pdo.php.
◆ getPdoObject()
◆ parse_dsn()
- Parameters
-
| string | dsn dsn for pdo-object |
- Returns
- array of options
Definition at line 158 of file Pdo.php.
◆ $prefix
The documentation for this class was generated from the following file: