MediaWiki  1.23.8
SiteStore.php
Go to the documentation of this file.
1 <?php
2 
29 interface SiteStore {
30 
40  public function saveSite( Site $site );
41 
51  public function saveSites( array $sites );
52 
64  public function getSite( $globalId, $source = 'cache' );
65 
78  public function getSites( $source = 'cache' );
79 
84  public function clear();
85 }
SiteStore\getSite
getSite( $globalId, $source='cache')
Returns the site with provided global id, or null if there is no such site.
php
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
Definition: skin.txt:62
SiteStore
Definition: SiteStore.php:29
array
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
SiteStore\saveSites
saveSites(array $sites)
Saves the provided sites.
Site
Definition: Site.php:29
$source
if(PHP_SAPI !='cli') $source
Definition: mwdoc-filter.php:18
SiteStore\saveSite
saveSite(Site $site)
Saves the provided site.
SiteStore\getSites
getSites( $source='cache')
Returns a list of all sites.
SiteStore\clear
clear()
Deletes all sites from the database.