1C-Bitrix 25.700.0
|
Открытые члены | |
isAvailable () | |
clean ($baseDir, $initDir=false, $filename=false) | |
read (&$vars, $baseDir, $initDir, $filename, $ttl) | |
write ($vars, $baseDir, $initDir, $filename, $ttl) | |
isCacheExpired ($path) |
См. определение в файле cacheengineinterface.php строка 5
Cleans (removes) the value from the cache by the key (directory or file).
string | $baseDir | Base cache directory (usually /bitrix/cache). |
string | $initDir | Directory within base. |
string | $filename | File name. |
Замещается в MemcachedClusterCache, KeyValueEngine, CacheEngineFiles, CacheEngineNone, CacheEngineRedisLight, CPHPCacheMemcacheCluster и CPHPCacheRedisCluster.
isAvailable | ( | ) |
Returns true if cache can be read or written.
Замещается в KeyValueEngine, CacheEngineFiles и CacheEngineNone.
isCacheExpired | ( | $path | ) |
Returns true if the cache file has expired.
string | $path | Absolute physical path. |
Замещается в KeyValueEngine, CacheEngineFiles и CacheEngineNone.
read | ( | & | $vars, |
$baseDir, | |||
$initDir, | |||
$filename, | |||
$ttl ) |
Reads the value from the cache. Returns true if the value exists, not expired, and successfully read.
mixed | &$vars | Cached result. |
string | $baseDir | Base cache directory (usually /bitrix/cache). |
string | $initDir | Directory within base. |
string | $filename | File name. |
integer | $ttl | Expiration period in seconds. |
Замещается в KeyValueEngine, CacheEngineFiles, CacheEngineNone и CacheEngineRedisLight.
write | ( | $vars, | |
$baseDir, | |||
$initDir, | |||
$filename, | |||
$ttl ) |
Writes the value into the cache by the key.
mixed | $vars | Cached result. |
string | $baseDir | Base cache directory (usually /bitrix/cache). |
string | $initDir | Directory within base. |
string | $filename | File name. |
integer | $ttl | Expiration period in seconds. |
Замещается в KeyValueEngine, CacheEngineFiles, CacheEngineNone и CacheEngineRedisLight.