Semantic MediaWiki and related extensions
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SWL\LazyDBConnectionProvider Class Reference

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.2
Author
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ getConnection()

SWL\LazyDBConnectionProvider::getConnection ( )
See also
DBConnectionProvider::getConnection
Since
1.2
Returns
DatabaseBase
Exceptions
RuntimeException

◆ releaseConnection()

SWL\LazyDBConnectionProvider::releaseConnection ( )
See also
DBConnectionProvider::releaseConnection
Since
1.2

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

About | General disclaimer | Privacy policy