Builds the site identifiers table.
More...
|
| __construct (SiteStore $store, array $validGroups) |
|
| buildStore (array $sites, $siteGroup=null, $wikiId=null) |
|
Builds the site identifiers table.
- Note
- : this should move out of Wikibase
- Copyright
- GPL-2.0-or-later
- Author
- Katie Filbert < aude..nosp@m.wiki.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >
◆ __construct()
Wikibase\Lib\Sites\SitesBuilder::__construct |
( |
SiteStore | $store, |
|
|
array | $validGroups ) |
- Parameters
-
SiteStore | $store | |
string[] | $validGroups | |
◆ addInterwikiIdsToGroup()
Wikibase\Lib\Sites\SitesBuilder::addInterwikiIdsToGroup |
( |
array | $sites, |
|
|
| $siteGroup ) |
|
protected |
- Parameters
-
Site[] | $sites | |
string | $siteGroup | |
- Returns
- Site[]
◆ buildStore()
Wikibase\Lib\Sites\SitesBuilder::buildStore |
( |
array | $sites, |
|
|
| $siteGroup = null, |
|
|
| $wikiId = null ) |
- Parameters
-
Site[] | $sites | |
string | null | $siteGroup | |
string | null | $wikiId | |
◆ getInterwikiGroup()
Wikibase\Lib\Sites\SitesBuilder::getInterwikiGroup |
( |
array | $sites, |
|
|
| $wikiId ) |
|
private |
- Parameters
-
Site[] | $sites | |
string | $wikiId | |
- Returns
- string|null
◆ $store
Wikibase\Lib\Sites\SitesBuilder::$store |
|
private |
◆ $validGroups
Wikibase\Lib\Sites\SitesBuilder::$validGroups |
|
private |
The documentation for this class was generated from the following file: