Documentation

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

ParameterDescriptionVersion
$arAllVarsCaching result.
$baseDirMain directory for cache (usually /bitrix/cache).
$initDirDirectory inside the main one
$filenameFile name.
$TTLCache lifetime in seconds.

Examples



© «Bitrix24», 2001-2024
Up