Метод getItems
Сигнатура метода
public function getItems(array $parameters): CDBResult
Возвращает:
CDBResult
Описание
Overrides ActivityTrait::getItems() to avoid using __CONDITIONS SQL subqueries, which are incompatible with the D7 ORM factory used by Dynamic entity types. Entity IDs matching the requested activity stage are fetched from EntityCounter ORM queries and applied as an @ID filter on the factory query. ACTIVITY_COUNTER and the counter responsible field (ASSIGNED_BY_ID for "by element" counters, ACTIVITY_RESPONSIBLE_IDS for "by activity") are consumed by getEntityIdsForStage() and stripped before calling the factory: the responsible field is left untransformed by Kanban::getFilter() (it may hold special tokens like "other-users") and its restriction is already encoded in the entity IDs.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$parameters
|
array
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulescrm/lib/kanban/entity/dynamicactivities.php