MediaWiki  master
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. More...
 
 getSites ()
 Returns a list of all sites. More...
 

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 DBSiteStore, CachingSiteStore, 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: