read
boolean public \Bitrix\Main\Data\CacheEngineXCache::read( mixed $arAllVars, string $baseDir, string $initDir, string $filename, integer $TTL );
This non-static method reads XCache parameter. Returns true when cache exists, not damaged or read.
Parameters
Parameter | Description | Version |
---|---|---|
$arAllVars | Caching result. | |
$baseDir | Main directory for cache (usually /bitrix/cache ). | |
$initDir | Directory located inside main one | |
$filename | File name. | |
$TTL | Storage time in seconds. |
Examples
© «Bitrix24», 2001-2024
Up