• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/model/entity.php
  • Класс: BitrixCatalogModelEntity
  • Вызов: Entity::modifyEntityCacheItem
private function modifyEntityCacheItem($id, array $row): void
{
	if (empty($this->fieldMask))
		return;

	$data = array_intersect_key($row, $this->fieldMask);
	if (!empty($data))
	{
		if (!isset($this->cache[$id]))
			$this->loadEntityCacheItem($id);
		if (isset($this->cache[$id]))
		{
			$this->expireEntityCacheItem($id, true);
			$this->cache[$id] = array_merge($this->cache[$id], $data);
		}
	}
	unset($data);
}