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

Public Member Functions

 __construct ($connectionId, $groups=array(), $wiki=false)
 
 getConnection ()
 
 releaseConnection ()
 

Protected Member Functions

 isConnection ($connection)
 

Protected Attributes

 $connection = null
 
 $connectionId = null
 
 $groups
 
 $wiki
 

Detailed Description

GNU GPL v2+

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

Constructor & Destructor Documentation

SMW\MediaWiki\LazyDBConnectionProvider::__construct (   $connectionId,
  $groups = array(),
  $wiki = false 
)
Since
1.9
Parameters
int$connectionId
string | array$groups
string | boolean$wiki

Member Function Documentation

SMW\MediaWiki\LazyDBConnectionProvider::getConnection ( )
See also
DBConnectionProvider::getConnection
Since
1.9
Returns
DatabaseBase
Exceptions
RuntimeException

Implements SMW\DBConnectionProvider.

SMW\MediaWiki\LazyDBConnectionProvider::isConnection (   $connection)
protected
SMW\MediaWiki\LazyDBConnectionProvider::releaseConnection ( )

Member Data Documentation

SMW\MediaWiki\LazyDBConnectionProvider::$connection = null
protected
SMW\MediaWiki\LazyDBConnectionProvider::$connectionId = null
protected
SMW\MediaWiki\LazyDBConnectionProvider::$groups
protected
string boolean SMW\MediaWiki\LazyDBConnectionProvider::$wiki
protected

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