WireDatabaseDialect::connectionConfig()
Get PDO connection configuration from given $config
Returns array with 'dsn', 'user', 'pass', 'options' and optionally 'reader' (see WireDatabasePDO constructor).
Usage
$array = WireDatabaseDialect::connectionConfig(Config $config, array $options);Arguments
| Name | Type(s) | Description |
|---|---|---|
$config | Config | |
$options | array | PDO driver options already determined by WireDatabasePDO |
Return value
array
Exceptions
Method can throw exceptions on error:
WireException
WireDatabaseDialect methods and properties
API reference based on ProcessWire core version 3.0.275