1C-Bitrix 25.700.0
|
Открытые члены | |
getReadBytes () | |
getWrittenBytes () | |
getCachePath () | |
isAvailable () | |
clean ($baseDir, $initDir=false, $filename=false) | |
read (&$vars, $baseDir, $initDir, $filename, $ttl) | |
write ($vars, $baseDir, $initDir, $filename, $ttl) | |
isCacheExpired ($path) |
См. определение в файле cacheenginenone.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. |
Замещает CacheEngineInterface.
См. определение в файле cacheenginenone.php строка 27
getCachePath | ( | ) |
Returns the cache key (path) after read or write operation.
Замещает CacheEngineStatInterface.
См. определение в файле cacheenginenone.php строка 17
getReadBytes | ( | ) |
Returns number of bytes read from cache.
Замещает CacheEngineStatInterface.
См. определение в файле cacheenginenone.php строка 7
getWrittenBytes | ( | ) |
Returns number of bytes written to cache.
Замещает CacheEngineStatInterface.
См. определение в файле cacheenginenone.php строка 12
isAvailable | ( | ) |
Returns true if cache can be read or written.
Замещает CacheEngineInterface.
См. определение в файле cacheenginenone.php строка 22
isCacheExpired | ( | $path | ) |
Returns true if the cache file has expired.
string | $path | Absolute physical path. |
Замещает CacheEngineInterface.
См. определение в файле cacheenginenone.php строка 41
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. |
Замещает CacheEngineInterface.
См. определение в файле cacheenginenone.php строка 32
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. |
Замещает CacheEngineInterface.
См. определение в файле cacheenginenone.php строка 37