method
public
static
Cache::setShowCacheStat()
Класс: \Bitrix\Main\Data\Cache
Сигнатура
public static setShowCacheStat(mixed $showCacheStat) : mixed
Параметры
$showCacheStat
mixed
Возвращаемое значение
mixed
Как применяется в Cache
Cache::setShowCacheStat() — метод класса \Bitrix\Main\Data\Cache модуля «Главный модуль».
Статический метод — вызывается через имя класса Cache, без создания объекта.
use Bitrix\Main\Data\Cache;
$showCacheStat = null;
$result = Cache::setShowCacheStat($showCacheStat);
// $result: mixedДругие методы Cache
abortDataCache()clean()cleanDir()clearCache()createCacheEngine()createInstance()endDataCache()forceRewriting()Устанавливает принудительный режим, игнорирующий TTL и перезаписывающий кеш.getCacheEngineType()getPath()getSalt()getShowCacheStat()
Исходный файл: source/main/lib/data/cache.php:150

