MediaWiki REL1_33
SiteStore.php
Go to the documentation of this file.
1<?php
2
29interface SiteStore extends SiteLookup {
30
40 public function saveSite( Site $site );
41
51 public function saveSites( array $sites );
52
57 public function clear();
58}
Definition Site.php:29
saveSites(array $sites)
Saves the provided sites.
saveSite(Site $site)
Saves the provided site.
clear()
Deletes all sites from the database.
The wiki should then use memcached to cache various data To use multiple just add more items to the array To increase the weight of a make its entry a array("192.168.0.1:11211", 2))