Documentation

write

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

Non-static method writes cache to APC.

Parameters

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

Examples



© «Bitrix24», 2001-2024