Plugin cache class
access | public |
---|---|
package | kocuj_sitemap |
actionClearCacheForPlugin(string $plugin, boolean $networkWide = false
) : void
access | public |
---|
string
Plugin name
boolean
Plugin is enabled or disabled for the entire network (true) or for site only (false) - default: false
actionDeleteBlog(integer $siteId) : void
access | public |
---|
integer
Site identifier
actionRecreateCache() : void
access | public |
---|
checkWritable() : boolean
access | public |
---|
boolean
Cache directory is writable (true) or not (false)clearCache(integer $siteId = 0
) : void
access | public |
---|
integer
Site 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 |
---|
array
boolean
float
integer
object
string
Filter data
array
boolean
float
integer
object
string
Filter datagetCacheDirectory(integer $siteId = 0
) : string
access | public |
---|
integer
Site 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
string
Cache directorygetCacheRootDirectory() : string
access | public |
---|
string
Cache root directorygetInstance(array $actions= array()
, array $filters= array()
) : object
access | public |
---|
array
Cache actions - default: empty
array
Cache filters - default: empty
object
Singleton instanceloadCache() : string
access | public |
---|
string
Returned bufferpurgeCache(integer $siteId = 0
) : void
access | public |
---|
integer
Site 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 |
---|
array
Cache actions - default: empty
array
Cache filters - default: empty
addRecreateCacheFiltersOrActions(array $data, boolean $isFilter) : void
access | private |
---|
array
Filters or actions data
boolean
It is filter (true) or action (false)
clearOrPurgeCache(boolean $purgeCache, integer $siteId = 0
) : void
access | private |
---|
boolean
Clear all cache files and directories (true) or clear cache files for current site only (false)
integer
Site 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 |
---|
string
Language locale
string
Cache 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 |
---|