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

Public Member Functions

 __construct ($connectorId=null, $defaultGraph=null, $queryEndpoint=null, $updateEndpoint=null, $dataEndpoint=null)
 
 setHttpVersionTo ($httpVersion)
 
 getConnection ()
 
 releaseConnection ()
 

Detailed Description

Provides an one-stop solution for creating a valid instance for a RepositoryConnection using available settings

GNU GPL v2+

Since
2.0
Author
mwjames

Constructor & Destructor Documentation

SMW\SPARQLStore\RepositoryConnectionProvider::__construct (   $connectorId = null,
  $defaultGraph = null,
  $queryEndpoint = null,
  $updateEndpoint = null,
  $dataEndpoint = null 
)
Since
2.0
Parameters
string | null$connectorId
string | null$defaultGraph
string | null$queryEndpoint
string | null$updateEndpoint
string | null$dataEndpoint

Member Function Documentation

SMW\SPARQLStore\RepositoryConnectionProvider::getConnection ( )
See also
DBConnectionProvider::getConnection
Since
2.0
Returns
SparqlDatabase
Exceptions
RuntimeException

Implements SMW\DBConnectionProvider.

SMW\SPARQLStore\RepositoryConnectionProvider::releaseConnection ( )
SMW\SPARQLStore\RepositoryConnectionProvider::setHttpVersionTo (   $httpVersion)
Since
2.3
Returns
integer $httpVersion

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