| spoof
    | 

| Public Member Functions | |
| __construct ($dsn, $username=NULL, $password=NULL, array $options=NULL) | |
| setDSN ($dsn) | |
| setUsername ($username) | |
| setPassword ($password) | |
| setOptions (array $options=NULL) | |
Database connection configuration interface. This interface is used to define database connection configuration.
| __construct | ( | $dsn, | |
| $username = NULL, | |||
| $password = NULL, | |||
| array | $options = NULL | ||
| ) | 
Constructor for the DBConfig class instantiates the database connection configuration object
| string | $dsn | DSN for the connection | 
| string | $username | connection username, optional, default NULL | 
| string | $password | connection password, optional, default NULL | 
| array | $options | connections options, optional, default NULL | 
| setDSN | ( | $dsn | ) | 
Sets DSN string for the connection
| string | $dsn | DSN for the connection | 
Implemented in Config.
| setOptions | ( | array | $options = NULL | ) | 
Sets array of options for the connection
| array | $options | connection specific options | 
Implemented in Config.
| setPassword | ( | $password | ) | 
Sets password for the connection
| string | $password | password for the connection | 
Implemented in Config.
| setUsername | ( | $username | ) | 
Sets username for the connections
| string | $username | username for the connection | 
Implemented in Config.