Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\FederatedProperties\ApiServiceFactory Class Reference

Public Member Functions

 __construct (string $federatedPropertiesSourceScriptUrl, string $serverName)
 ApiServiceFactory constructor. More...
 
 newApiEntitySearchHelper ()
 
 newApiEntityTitleTextLookup ()
 
 newApiEntityUrlLookup ()
 
 newApiPropertyDataTypeLookup ()
 
 newApiPrefetchingTermLookup ()
 
 getApiEntityLookup ()
 Returns the singleton instance of ApiEntityLookup. More...
 
 newApiEntityExistenceChecker ()
 

Static Public Member Functions

static resetClassStatics ()
 

Private Member Functions

 getUrlForScriptFile ( $scriptFile)
 
 newFederatedPropertiesApiClient ()
 
 getApiEntityNamespaceInfoLookup ()
 Returns the singleton instance of ApiEntityNamespaceInfoLookup. More...
 

Private Attributes

 $federatedPropertiesSourceScriptUrl
 
 $serverName
 

Static Private Attributes

static $apiEntityLookupInstance = null
 
static $apiEntityNamespaceInfoLookup = null
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\FederatedProperties\ApiServiceFactory::__construct ( string  $federatedPropertiesSourceScriptUrl,
string  $serverName 
)

ApiServiceFactory constructor.

Parameters
string$federatedPropertiesSourceScriptUrl
string$serverName

Member Function Documentation

◆ getApiEntityLookup()

Wikibase\Repo\FederatedProperties\ApiServiceFactory::getApiEntityLookup ( )

Returns the singleton instance of ApiEntityLookup.

Returns
ApiEntityLookup

◆ getApiEntityNamespaceInfoLookup()

Wikibase\Repo\FederatedProperties\ApiServiceFactory::getApiEntityNamespaceInfoLookup ( )
private

Returns the singleton instance of ApiEntityNamespaceInfoLookup.

Returns
ApiEntityNamespaceInfoLookup

◆ getUrlForScriptFile()

Wikibase\Repo\FederatedProperties\ApiServiceFactory::getUrlForScriptFile (   $scriptFile)
private

◆ newApiEntityExistenceChecker()

Wikibase\Repo\FederatedProperties\ApiServiceFactory::newApiEntityExistenceChecker ( )

◆ newApiEntitySearchHelper()

Wikibase\Repo\FederatedProperties\ApiServiceFactory::newApiEntitySearchHelper ( )

◆ newApiEntityTitleTextLookup()

Wikibase\Repo\FederatedProperties\ApiServiceFactory::newApiEntityTitleTextLookup ( )

◆ newApiEntityUrlLookup()

Wikibase\Repo\FederatedProperties\ApiServiceFactory::newApiEntityUrlLookup ( )

◆ newApiPrefetchingTermLookup()

Wikibase\Repo\FederatedProperties\ApiServiceFactory::newApiPrefetchingTermLookup ( )

◆ newApiPropertyDataTypeLookup()

Wikibase\Repo\FederatedProperties\ApiServiceFactory::newApiPropertyDataTypeLookup ( )

◆ newFederatedPropertiesApiClient()

Wikibase\Repo\FederatedProperties\ApiServiceFactory::newFederatedPropertiesApiClient ( )
private

◆ resetClassStatics()

static Wikibase\Repo\FederatedProperties\ApiServiceFactory::resetClassStatics ( )
static

Member Data Documentation

◆ $apiEntityLookupInstance

Wikibase\Repo\FederatedProperties\ApiServiceFactory::$apiEntityLookupInstance = null
staticprivate

◆ $apiEntityNamespaceInfoLookup

Wikibase\Repo\FederatedProperties\ApiServiceFactory::$apiEntityNamespaceInfoLookup = null
staticprivate

◆ $federatedPropertiesSourceScriptUrl

Wikibase\Repo\FederatedProperties\ApiServiceFactory::$federatedPropertiesSourceScriptUrl
private

◆ $serverName

Wikibase\Repo\FederatedProperties\ApiServiceFactory::$serverName
private

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