• Модуль: market
  • Путь к файлу: ~/bitrix/modules/market/lib/Categories.php
  • Класс: BitrixMarketCategories
  • Вызов: Categories::initFromCache
static function initFromCache()
{
	$managedCache = Application::getInstance()->getManagedCache();
	if ($managedCache->read(86400, Categories::CACHE_ID)) {
		$cacheResult = $managedCache->get(Categories::CACHE_ID);
		if (is_array($cacheResult)) {
			Categories::set($cacheResult);
		}
	}
}