Метод trimToLimit

private

Сигнатура метода

private function trimToLimit(int $activityId, array $bindings): array

Возвращает: array

Описание

Cuts the set down to the limit the way legacy does (`trimBindingsArray`, mysql:511-518): the largest owner ids survive, the rest disappear without an error, and the loss is only visible in the log.

Параметры

2
Имя Тип По умолчанию Флаги
$activityId int —
—
$bindings array —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Internal/Repository/Activity/ActivityBindingRepository.php
Расположение метода в файле
Строки 279–305

Исходный код

PHP