MediaWiki  1.23.1
Sites Class Reference
Inheritance diagram for Sites:
Collaboration diagram for Sites:

Public Member Functions

 getSiteGroup ( $group)
 
- Public Member Functions inherited from SiteSQLStore
 clear ()
 Clears the list of sites stored in the database. More...
 
 getSite ( $globalId, $source='cache')
 
 getSites ( $source='cache')
 
 reset ()
 Purges the internal and external cache of the site list, forcing the list of sites to be re-read from the database. More...
 
 saveSite (Site $site)
 
 saveSites (array $sites)
 

Static Public Member Functions

static newSite ( $globalId=false)
 Factory for creating new site objects. More...
 
static singleton ()
 
- Static Public Member Functions inherited from SiteSQLStore
static newInstance (ORMTable $sitesTable=null)
 

Additional Inherited Members

- Protected Member Functions inherited from SiteSQLStore
 __construct (ORMTable $sitesTable=null)
 Constructor. More...
 
 getCacheKey ()
 Constructs a cache key to use for caching the list of sites. More...
 
 getRowFromSite (Site $site)
 Get a new ORMRow from a Site object. More...
 
 loadSites ()
 Fetches the site from the database and loads them into the sites field. More...
 
 newSitesTable ()
 
 siteFromRow (ORMRow $siteRow)
 Returns a new Site object constructed from the provided ORMRow. More...
 
- Protected Attributes inherited from SiteSQLStore
SiteList null $sites = null
 
ORMTable $sitesTable
 

Detailed Description

Deprecated:

Definition at line 459 of file SiteSQLStore.php.

Member Function Documentation

◆ getSiteGroup()

Sites::getSiteGroup (   $group)
Deprecated:
Returns
SiteList

Definition at line 499 of file SiteSQLStore.php.

References SiteSQLStore\getSites().

◆ newSite()

static Sites::newSite (   $globalId = false)
static

Factory for creating new site objects.

Since
1.21
Deprecated:
Parameters
string|booleanfalse $globalId
Returns
Site

Definition at line 471 of file SiteSQLStore.php.

◆ singleton()

static Sites::singleton ( )
static
Deprecated:
Returns
SiteStore

Definition at line 485 of file SiteSQLStore.php.


The documentation for this class was generated from the following file: