Documentation

write

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

This non-static method writes cache in memcache.

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