• Модуль: intranet
  • Путь к файлу: ~/bitrix/modules/intranet/lib/integration/wizards/portal/ids.php
  • Класс: BitrixIntranetIntegrationWizardsPortalIds
  • Вызов: Ids::putIntoCache
static function putIntoCache(string $id, $data): void
{
	$cacheId = implode('_', [self::$cacheId, $id]);
	if (
		self::getCacheObject()->InitCache(self::$cacheTtl, $cacheId, self::$cacheDir)
		&& self::getCacheObject()->StartDataCache()
	)
	{
		self::getCacheObject()->EndDataCache($data);
	}
}