BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
SiteStore Interface Reference
Inheritance diagram for SiteStore:
Collaboration diagram for SiteStore:

Public Member Functions

 saveSite (Site $site)
 
 saveSites (array $sites)
 
 clear ()
 
- Public Member Functions inherited from SiteLookup
 getSite ($globalId)
 
 getSites ()
 

Member Function Documentation

SiteStore::clear ( )

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.

Implemented in DBSiteStore, CachingSiteStore, and HashSiteStore.

SiteStore::saveSite ( Site  $site)

Saves the provided site.

Since
1.21
Parameters
Site$site
Returns
bool Success indicator

Implemented in DBSiteStore, CachingSiteStore, and HashSiteStore.

SiteStore::saveSites ( array  $sites)

Saves the provided sites.

Since
1.21
Parameters
Site[]$sites
Returns
bool Success indicator

Implemented in DBSiteStore, CachingSiteStore, and HashSiteStore.


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