MediaWiki REL1_34
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, DBSiteStore, and FileBasedSiteLookup.

◆ getSites()

SiteLookup::getSites ( )

Returns a list of all sites.

Since
1.25
Returns
SiteList

Implemented in CachingSiteStore, DBSiteStore, and FileBasedSiteLookup.


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