Documentation

write

void public
\Bitrix\Main\Data\CacheEngineFiles::write(
 mixed $arAllVars,
 string $baseDir,
 string $initDir,
 string $filename,
 integer $TTL
);

This non-static method writes cache into file.

Parameters

ParameterDescriptionVersion
$arAllVarsCached result.
$baseDirMain directory for cache (usually /bitrix/cache).
$initDirDirectory without cache database .
$filenameFile name.
$TTLExpiration period in seconds.

Examples



© «Bitrix24», 2001-2024
Up