write
void public \Bitrix\Main\Data\CacheEngineRedis::write( mixed $arAllVars, string $baseDir, string $initDir, string $filename, integer $TTL );
This non-static writes cache in Redis.
Parameters
Parameter | Description | Version |
---|---|---|
$arAllVars | Caching result. | |
$baseDir | Main directory for cache (usually /bitrix/cache ). | |
$initDir | Directory inside the main one | |
$filename | File name. | |
$TTL | Cache lifetime in seconds. |
Examples
© «Bitrix24», 2001-2024