Semantic MediaWiki and related extensions
Public Member Functions | Protected Attributes | List of all members
SMW\Tests\Utils\Connection\ConnectionProvider Class Reference
Inheritance diagram for SMW\Tests\Utils\Connection\ConnectionProvider:
Inheritance graph
[legend]
Collaboration diagram for SMW\Tests\Utils\Connection\ConnectionProvider:
Collaboration graph
[legend]

Public Member Functions

 __construct ( $id=DB_MASTER)
 
 getConnection ()
 
 releaseConnection ()
 

Protected Attributes

 $connection
 
 $id
 

Detailed Description

GNU GPL v2+

Since
2.0
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\Tests\Utils\Connection\ConnectionProvider::__construct (   $id = DB_MASTER)
Since
2.0
Parameters
int$id

Member Function Documentation

◆ getConnection()

SMW\Tests\Utils\Connection\ConnectionProvider::getConnection ( )
Since
2.0
Returns
DatabaseBase

Implements SMW\Connection\ConnectionProvider.

◆ releaseConnection()

SMW\Tests\Utils\Connection\ConnectionProvider::releaseConnection ( )

Releases the connection if doing so makes any sense resource wise.

Since
1.9

Implements SMW\Connection\ConnectionProvider.


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

About | General disclaimer | Privacy policy