Метод getObjectStructuredRoots
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
1141–1166
~/bitrix/modulestasks/lib/checklist/checklistfacade.php
Исходный код
Сигнатура метода
public static function getObjectStructuredRoots($items, $entityId, $userId, $keyToParent = 'PARENT_ID', bool $shouldRecountSortIndexes = true)
Описание
Returns array of roots with subtrees as object structures.
Параметры
5| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$items
|
-
|
-
|
-
|
$entityId
|
-
|
-
|
-
|
$userId
|
-
|
-
|
-
|
$keyToParent
|
-
|
'PARENT_ID'
|
-
|
$shouldRecountSortIndexes
|
bool
|
true
|
-
|