| spoof
    | 


| Public Member Functions | |
| __construct ($dsn, $username=NULL, $password=NULL, array $options=NULL, $driver=NULL) | |
| setDSN ($dsn) | |
| setUsername ($username) | |
| setPassword ($password) | |
| setOptions (array $options=NULL) | |
| setDriver ($driver) | |
|  Public Member Functions inherited from IConfig | |
| __construct ($dsn, $username=NULL, $password=NULL, array $options=NULL) | |
| Data Fields | |
| $dsn | |
| $username | |
| $password | |
| $options | |
| $driver | |
A database configuration class. This class is used to store database connection configuration options.
| __construct | ( | $dsn, | |
| $username = NULL, | |||
| $password = NULL, | |||
| array | $options = NULL, | ||
| $driver = NULL | |||
| ) | 
Constructor for the DBConfig class instantiates the database connection configuration object
| string | $dsn | DSN for the connection | 
| string | $username | connection username, default NULL | 
| string | $password | connection password, default NULL | 
| array | $options | connections options, default NULL | 
| string | $driver | driver name, default NULL; set to override automatic detection from DSN string | 

| setDriver | ( | $driver | ) | 
Sets driver name for the configuration
| string | $driver | driver name | 

| setDSN | ( | $dsn | ) | 
Sets DSN string for the connection
| string | $dsn | DSN for the connection | 
Implements IConfig.

| setOptions | ( | array | $options = NULL | ) | 
Sets array of options for the connection
| array | $options | connection specific options | 
Implements IConfig.

| setPassword | ( | $password | ) | 
Sets password for the connection
| string | $password | password for the connection | 
Implements IConfig.

| setUsername | ( | $username | ) | 
Sets username for the connections
| string | $username | username for the connection | 
Implements IConfig.

| $driver | 
Driver name string
| $dsn | 
DSN string. DSN database connection string.
| $options | 
Array of options. Array of database or connection specific options.
| $password | 
Connection password. Password for the database connection.
| $username | 
Connection username. Username for the database connection.