v5:session:reference:driver
ADOdb_Session::driver
Syntax
string ADOdb_Session::driver( optional string $driverName )
Description
The static method driver sets or gets the ADOdb database driver on the session connection. This is not the same value as the driver associated with the database abstraction layer.
The value must be set before config() is called
Use As A Getter
When used without parameters it returns the currently set value
Usage
include_once 'adodb/adodb.inc.php'; include_once "adodb/session/adodb-session2.php"; ADOdb_Session::driver('oci8'); ADOdb_Session::config('',$host,$user,$pass,$database); ADOdb_Session::debug(true);
v5/session/reference/driver.txt · Last modified: 2018/07/01 21:59 by peterdd