ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilDBConnections Class Reference

Administrates DB connections in setup. More...

+ Collaboration diagram for ilDBConnections:

Public Member Functions

 __construct ()
 
 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 29 of file class.ilDBConnections.php.

Constructor & Destructor Documentation

◆ __construct()

ilDBConnections::__construct ( )

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

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

Member Function Documentation

◆ connectDB()

ilDBConnections::connectDB (   $a_dsn_db)
Parameters
$a_dsn_db
Returns
mixed
Exceptions

ilDatabaseException

Deprecated:

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

60 {
61 throw new ilDatabaseException(__CLASS__ . '::' . __METHOD__ . ' is not longer supported');
62 }
Class ilDatabaseException.

◆ connectHost()

ilDBConnections::connectHost (   $a_dsn_host)
Parameters
$a_dsn_host
Returns
mixed
Exceptions

ilDatabaseException

Deprecated:

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

48 {
49 throw new ilDatabaseException(__CLASS__ . '::' . __METHOD__ . ' is not longer supported');
50 }

Field Documentation

◆ $db

ilDBConnections::$db

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

◆ $log

ilDBConnections::$log

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


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