ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilDBConnections Class Reference

Administrates DB connections in setup. More...

+ Collaboration diagram for ilDBConnections:

Public Member Functions

 ilDBConnections ()
 connectHost ($a_dsn_host)
 connectDB ($a_dsn_db)

Data Fields

 $db
 $log

Detailed Description

Administrates DB connections in setup.

Manage DB Connections

Definition at line 31 of file class.ilDBConnections.php.

Member Function Documentation

ilDBConnections::connectDB (   $a_dsn_db)

Definition at line 48 of file class.ilDBConnections.php.

References MDB2\connect().

{
//echo "<br>connectingDB:".$a_dsn_db;
return MDB2::connect($a_dsn_db);
}

+ Here is the call graph for this function:

ilDBConnections::connectHost (   $a_dsn_host)

Definition at line 41 of file class.ilDBConnections.php.

References $db, and MDB2\connect().

{
//echo "<br>connectingHost:".$a_dsn_host;
$db = MDB2::connect($a_dsn_host);
return $db;
}

+ Here is the call graph for this function:

ilDBConnections::ilDBConnections ( )

Definition at line 36 of file class.ilDBConnections.php.

{
$this->connections = array();
}

Field Documentation

ilDBConnections::$db

Definition at line 33 of file class.ilDBConnections.php.

Referenced by connectHost().

ilDBConnections::$log

Definition at line 34 of file class.ilDBConnections.php.


The documentation for this class was generated from the following file: