Метод collectByCountLimit
Сигнатура метода
private function collectByCountLimit(array $clientIdentifiers, int $baseDealId, int $limit): array
Возвращает:
array
Описание
Priority selection bounded by the count limit (ALG-03). Used when the budget is disabled. The limit counts ready (already-transcribed) and newly-selected calls together: an already-transcribed call in scope occupies a slot, so a client with enough transcripts is not re-transcribed. Only untranscribed calls are returned for launch; a Ready call fills a slot without a launch. The base deal is exhausted first (own scan window), then deals_list by freshness, until the shared limit is reached.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$clientIdentifiers
|
array
|
—
|
—
|
$baseDealId
|
int
|
—
|
—
|
$limit
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/RepeatSale/Transcription/InScopeCallCollector.php
Расположение метода в файле
Строки
91–121