Plugin cache class
| access | public |
|---|---|
| package | kocuj_sitemap |
actionClearCacheForPlugin(string $plugin, boolean $networkWide = false) : void
| access | public |
|---|
stringPlugin name
booleanPlugin is enabled or disabled for the entire network (true) or for site only (false) - default: false
actionDeleteBlog(integer $siteId) : void
| access | public |
|---|
integerSite identifier
actionRecreateCache() : void
| access | public |
|---|
checkWritable() : boolean
| access | public |
|---|
booleanCache directory is writable (true) or not (false)clearCache(integer $siteId = 0) : void
| access | public |
|---|
integerSite identifier; if it is set to 0, cache will be cleared for current site; this is ignored if it is not multisite installation - default: 0
createCache() : void
| access | public |
|---|
filterRecreateCache(array|boolean|float|integer|object|string $data) : array | boolean | float | integer | object | string
| access | public |
|---|
arraybooleanfloatintegerobjectstringFilter data
arraybooleanfloatintegerobjectstringFilter datagetCacheDirectory(integer $siteId = 0) : string
| access | public |
|---|
integerSite identifier; if it is set to 0, cache directory will be get for current site; this is ignored if it is not multisite installation - default: 0
stringCache directorygetCacheRootDirectory() : string
| access | public |
|---|
stringCache root directorygetInstance(array $actions= array(), array $filters= array()) : object
| access | public |
|---|
arrayCache actions - default: empty
arrayCache filters - default: empty
objectSingleton instanceloadCache() : string
| access | public |
|---|
stringReturned bufferpurgeCache(integer $siteId = 0) : void
| access | public |
|---|
integerSite identifier; if it is set to 0, cache will be purged for all sites; this is ignored if it is not multisite installation - default: 0
__clone() : void
| access | private |
|---|
__construct(array $actions= array(), array $filters= array()) : void
| access | private |
|---|
arrayCache actions - default: empty
arrayCache filters - default: empty
addRecreateCacheFiltersOrActions(array $data, boolean $isFilter) : void
| access | private |
|---|
arrayFilters or actions data
booleanIt is filter (true) or action (false)
clearOrPurgeCache(boolean $purgeCache, integer $siteId = 0) : void
| access | private |
|---|
booleanClear all cache files and directories (true) or clear cache files for current site only (false)
integerSite identifier; if it is set to 0, cache will be cleared for current site or purged for all sites; this is ignored if it is not multisite installation - default: 0
getCacheFilename(string $locale) : string
| access | private |
|---|
stringLanguage locale
stringCache filename - if empty, there is an error in cache directory$cacheContent : array
array()| access | private |
|---|
$cacheCreated : boolean
false| access | private |
|---|
$instance : object
NULL| access | private |
|---|