| spoof
    | 


| Public Member Functions | |
| __construct (IConfig $config) | |
| isConnected () | |
| getConnection () | |
| disconnect () | |
| getFeatureLevel ($feature) | |
|  Public Member Functions inherited from IConnection | |
| connect () | |
| Data Fields | |
| $driver | |
| Protected Attributes | |
| $connection | |
| $config | |
| $features = array() | |
A database connection class. This class is a wrapper around PHP's PDO database connection object.
| __construct | ( | IConfig | $config | ) | 
Constructor for the database connection object instantiates the object but does not connect it to a database @param IConfig $config database connection configuration object @throw ConfigException when DSN specified with $config object has invalid format @throw \lib360\db\object\NotFoundException when driver specified with $config cannot be loaded
TODO implement some logging here
Implements IConnection.
| disconnect | ( | ) | 
Closes the connection
Implements IConnection.
| getConnection | ( | ) | 
Retrieves the underlying connection object
| getFeatureLevel | ( | $feature | ) | 
Get feature support level
| string | $feature | 
Implements IConnection.
| isConnected | ( | ) | 
Checks whether the database connection is active
Implements IConnection.
| 
 | protected | 
Connection configuration object. Internal property used to store database connection configuration object.
| 
 | protected | 
Connection object. Internal property used to store the PHP PDO connection object.
| $driver | 
Driver object. Used to retrieve connection specific behavior.
| 
 | protected | 
Features array Used to specify support for specific features. Extending classes should specify what features and levels they support.