Метод readThroughCache

private

Сигнатура метода

private function readThroughCache(array $ids, ItemSelect $select): array

Возвращает: array

Описание

Cache-aware read core behind `getById()` / `getByIds()`. Serves items from {@see ItemCache} when every requested scalar is already loaded there; everything else — full misses and the missing fields of partial hits — is fetched from the repository in a single query and merged into the cached snapshots (already-loaded values are never overwritten, and the merge leaves no change marks). Relations are loaded only where absent on the merged item. Snapshots are cached raw, before the access check; restricted stubs are never cached.

Параметры

2
Имя Тип По умолчанию Флаги
$ids array —
—
$select ItemSelect —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Public/Provider/Item/AbstractItemProvider.php
Расположение метода в файле
Строки 450–693

Исходный код

PHP