MediaWiki master
|
Interface to retrieve Site objects, for implementation by service classes. More...
Inherited by MediaWiki\Site\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 retrieve Site objects, for implementation by service classes.
Default implementation is DBSiteStore.
Definition at line 31 of file SiteLookup.php.
MediaWiki\Site\SiteLookup::getSite | ( | $globalId | ) |
Return the site with provided global ID, or null if there is no such site.
string | $globalId |
Implemented in MediaWiki\Site\CachingSiteStore, and MediaWiki\Site\DBSiteStore.
MediaWiki\Site\SiteLookup::getSites | ( | ) |
Return a list of all sites.
Implemented in MediaWiki\Site\CachingSiteStore, and MediaWiki\Site\DBSiteStore.