Class DSNHelper
Copyright:
2012, 2016 Leandro Silva (http://grafluxe.com)
License: MIT
Author: Leandro Silva
Classdesc:
Located at DSNHelper.class.php
License: MIT
Author: Leandro Silva
Classdesc:
Data Source Name (DSN) helper. This class is filled with static methods that return DSN strings. Use it to simplify the database connection process. Note that the 'db' method parameters can be set to an empty string if you plan to assign the database later.
Located at DSNHelper.class.php
Methods summary
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
string
|
#
informix( string $db, string $server, string $app, boolean $connection_pooling, boolean $encrypt, string $failover_partner, integer $login_timeout, string $multiple_active_result_sets, boolean $quoted_id, string $trace_file, boolean $trace_on, string $transaction_isolation, boolean $trust_server_certificate, string $wsid )
DSN for Informix. |
public static
string
|
|
public static
string
|
#
mysql_socket( string $db, string $unix_socket, string $charset = "" )
DSN for MySQL Unix Socket (versions 3-5). |
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
string
|