OXID eShop CE
6.1.5
|
Public Member Functions | |
getFromCache ($key) | |
setToCache ($key, $value) | |
Static Public Member Functions | |
static | clearCache () |
Public Attributes | |
const | CACHE_FILE_PREFIX = "config" |
Protected Member Functions | |
getCacheFilePath ($key) | |
getCacheDir () | |
getCacheFileName ($key) | |
Cache for storing module variables selected from database.
|
static |
Clears all cache by deleting cached files.
|
protected |
Returns cache directory.
|
protected |
Returns shopId which should be used for cache file name generation.
string | $key |
|
protected |
Returns module file cache name.
string | $key | cached item key. Will be used for file name generation. |
OxidEsales\EshopCommunity\Core\FileCache::getFromCache | ( | $key | ) |
Returns cached item value by given key. This method is independent from oxConfig class and does not use database.
string | $key | cached item key. |
OxidEsales\EshopCommunity\Core\FileCache::setToCache | ( | $key, | |
$value | |||
) |
Caches item value by given key.
string | $key | cached item key. |
mixed | $value |
const OxidEsales\EshopCommunity\Core\FileCache::CACHE_FILE_PREFIX = "config" |
Cache file prefix