MediaWiki REL1_40
|
Interface to retreive Site objects, for implementation by service classes. More...
Inherited by SiteStore.
Public Member Functions | |
getSite ( $globalId) | |
Return the site with provided global ID, or null if there is no such site. | |
getSites () | |
Return a list of all sites. | |
Interface to retreive 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 CachingSiteStore, and DBSiteStore.
SiteLookup::getSites | ( | ) |
Return a list of all sites.
Implemented in CachingSiteStore, and DBSiteStore.