Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F6030583
SiteStore.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
946 B
Referenced Files
None
Subscribers
None
SiteStore.php
View Options
<?php
/**
* @license GPL-2.0-or-later
* @file
*/
namespace
MediaWiki\Site
;
/**
* Interface for storing and retrieving Site objects.
*
* Default implementation is DBSiteStore.
*
* @since 1.21
* @ingroup Site
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
interface
SiteStore
extends
SiteLookup
{
/**
* Saves the provided site.
*
* @since 1.21
* @param Site $site
* @return bool Success indicator
*/
public
function
saveSite
(
Site
$site
);
/**
* Saves the provided sites.
*
* @since 1.21
* @param Site[] $sites
* @return bool Success indicator
*/
public
function
saveSites
(
array
$sites
);
/**
* Deletes all sites from the database. After calling clear(), getSites() will return an empty
* list and getSite() will return null until saveSite() or saveSites() is called.
*/
public
function
clear
();
}
/** @deprecated class alias since 1.42 */
class_alias
(
SiteStore
::
class
,
'SiteStore'
);
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 4 2026, 17:50 (5 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ad/2d/1a39113dcb97449d92bfcad5320c
Default Alt Text
SiteStore.php (946 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment