Метод initByUserIds
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
37–42
~/bitrix/modulesim/lib/V2/Entity/User/UserCollection.php
Исходный код
Сигнатура метода
public static function initByUserIds(array $userIds): self
Возвращает:
self
Описание
Hydrates the collection warming the per-user cache with a single query first, instead of one SELECT per id as the default constructor does on a cold cache.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$userIds
|
array
|
-
|
-
|