Jet\Db_Backend_PDO_Config
This class represents the definition of the default PDO backend configuration within the direct database connection system and inherits from the abstract class Jet\Db_Backend_Config.
Method Overview
Method | Meaning of |
---|---|
public static getDrivers( ) : array |
Returns a list of supported (according to actually installed and activated PHP modules) connection drivers (i.e. which DB types are actually supported by the system where the application is running). |
public getDsn( ) : string |
Returns DSN - Data Source Name. The DSN is either generated from other configuration values (if it is a database directly supported in Jet), or the DSN can be directly set. It is possible to connect to other database types than those directly supported by Jet. |
public setDsn( string $dsn ) : void |
Sets DSN - see getDsn method |
public getCharset( ) : array |
Returns the connection character set setting (for databases where this is supported). |
public setCharset( string $charset ) : array |
Sets the connection character set (for databases where this is supported). |
public getUnixSocket( ) : array |
Returns the path to the Unix socket of the connection (for databases where this is supported). |
public setUnixSocket( string $unix_socket ) : array |
Sets the path to the Unix socket of the connection (for databases where this is supported). |
public getPath( ) : array |
Returns the path to the data file (for databases where this is supported). |
public setPath( string $path ) : array |
Sets the path to the data file (for databases where this is supported). |