read
boolean public \Bitrix\Main\Data\CacheEngineFiles::read( mixed , string $baseDir, string $initDir, string $filename, integer $TTL );
This non-static method reads or writes cache in file. Returns true when file exists, not expired or successfully read.
Parameters
Parameter | Description | Version |
---|---|---|
$arAllVars | Cache result. | |
$baseDir | Main directory for cache (usually /bitrix/cache ). | |
$initDir | Initial directory. | |
$filename | File name | |
$TTL | Expiration period in seconds. |
Examples
© «Bitrix24», 2001-2024