Метод collectExisting
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
28–40
~/bitrix/modulestasks/lib/internals/task/template/unresolvedformmembers.php
Исходный код
Сигнатура метода
public static function collectExisting(array $memberIdsByField, array $resolvedUserIds): array
Возвращает:
array
Описание
Same as collect(), narrowed to the members whose user record still exists. A member left over from a deleted account is not worth posting back: no chip is rendered for it, so nobody could ever remove it through the form, while a save that drops it clears the dangling reference for good.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$memberIdsByField
|
array
|
-
|
-
|
$resolvedUserIds
|
array
|
-
|
-
|