Метод narrowFoundFieldsToPreset
Сигнатура метода
private static function narrowFoundFieldsToPreset(array $items, int $currentPresetId): array
Возвращает:
array
Описание
The resolver answers with every legal detail its directory knows about the organization, while the requisite the answer is poured into shows only the details its preset declares. The narrowing is done here rather than inside the resolver: resolveClient() is called from elsewhere as well, and those callers are about their own data rather than about a requisite of this portal.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$items
|
array
|
—
|
—
|
$currentPresetId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/controller/requisite/entity.php
Расположение метода в файле
Строки
96–110