MediaWiki
master
|
Interface to retrieve Site objects, for implementation by service classes. More...
Public Member Functions | |
getSite ( $globalId) | |
Return the site with provided global ID, or null if there is no such site. More... | |
getSites () | |
Return a list of all sites. More... | |
Interface to retrieve Site objects, for implementation by service classes.
Default implementation is DBSiteStore.
Definition at line 29 of file SiteLookup.php.
SiteLookup::getSite | ( | $globalId | ) |
Return the site with provided global ID, or null if there is no such site.
string | $globalId |
Implemented in DBSiteStore, and CachingSiteStore.
SiteLookup::getSites | ( | ) |
Return a list of all sites.
Implemented in DBSiteStore, and CachingSiteStore.