Метод readRows
Сигнатура метода
private function readRows(int $activityId): array
Возвращает:
array
Описание
The stored rows of the activity: the ones a binding describes grouped by its key, and the ones no binding can describe - an owner of a non-positive id or type, which legacy rows do carry - apart. The second group belongs to no set, so it is neither read nor reported, and a write removes it exactly as the legacy rewrite of the whole set did. The count of the rows is part of the answer, and it is the count of the rows rather than of the keys: the table has no unique index over the owner pair, so a key can own several rows, and the threshold notice is counted from the same number legacy counted it from.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$activityId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulescrm/lib/V2/Internal/Repository/Activity/ActivityBindingRepository.php