Метод loadRelationWhereMissing
Сигнатура метода
private function loadRelationWhereMissing(array $items, string $getter, callable $enableRelation, object $loader, array &$touched): void
Возвращает:
void
Описание
Runs $loader for the subset of $items on which the relation behind $getter is not loaded yet (or the entity type lacks it altogether — such items are skipped).
Параметры
5| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$items
|
array
|
—
|
—
|
$getter
|
string
|
—
|
—
|
$enableRelation
|
callable
|
—
|
—
|
$loader
|
object
|
—
|
—
|
$touched
|
array
|
—
|
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Public/Provider/Item/AbstractItemProvider.php
Расположение метода в файле
Строки
757–780