Documentation

read

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

Non-static method reads APC cache. Returns true when cache exists, not damaged or read.

Parameters

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

Examples



© «Bitrix24», 2001-2024
Up