Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\Connection\ConnectionProvider Interface Reference
Inheritance diagram for SMW\Connection\ConnectionProvider:
Inheritance graph
[legend]

Public Member Functions

 getConnection ()
 
 releaseConnection ()
 

Detailed Description

Interface for database connection providers.

GNU GPL v2+

Since
1.9
Author
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >

Member Function Documentation

◆ getConnection()

SMW\Connection\ConnectionProvider::getConnection ( )

Returns the database connection. Initialization of this connection is done if it was not already initialized.

Since
1.9

Implemented in SMW\MediaWiki\Connection\LoadBalancerConnectionProvider, SMW\MediaWiki\Connection\ConnectionProvider, SMW\Tests\Utils\Connection\TestDatabaseConnectionProvider, and SMW\Connection\CallbackConnectionProvider.

◆ releaseConnection()

SMW\Connection\ConnectionProvider::releaseConnection ( )

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

About | General disclaimer | Privacy policy