Метод getByIds
Сигнатура метода
public function getByIds(array $ids, ?array $fieldNames = null): array
Возвращает:
array
Описание
Reads the given activities in one query - the batch preload of the pipeline and of the access checks. Ids that have no row are absent from the result; an empty input does not hit the database.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$ids
|
array
|
—
|
—
|
$fieldNames
|
?array
|
null
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Repository/Activity/ActivityRepositoryInterface.php
Расположение метода в файле
Строки
75–75