MediaWiki REL1_39
SiteLookup Interface Reference
Inheritance diagram for SiteLookup:

Public Member Functions

 getSite ( $globalId)
 Returns the site with provided global id, or null if there is no such site.
 
 getSites ()
 Returns a list of all sites.
 

Detailed Description

Definition at line 28 of file SiteLookup.php.

Member Function Documentation

◆ getSite()

SiteLookup::getSite ( $globalId)

Returns the site with provided global id, or null if there is no such site.

Since
1.25
Parameters
string$globalId
Returns
Site|null

Implemented in CachingSiteStore, and DBSiteStore.

◆ getSites()

SiteLookup::getSites ( )

Returns a list of all sites.

Since
1.25
Returns
SiteList

Implemented in CachingSiteStore, and DBSiteStore.


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