Documentation

readFromCache

\Bitrix\Main\DB\ArrayResult|null public
\Bitrix\Main\Entity\Base::readFromCache(
 integer $ttl,
 string $cacheId,
 boolean $countTotal = false
);

This non-static method reads data from cache.

Parameters

ParameterDescriptionVersion
$ttlTTL.
$cacheIdCache ID.
$countTotalEnable/disable reading full data for cache.

Example



© «Bitrix24», 2001-2022
Up