Метод calculateNewSortPosition
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
813–846
~/bitrix/modulestasks/lib/scrum/service/itemservice.php
Исходный код
Сигнатура метода
private function calculateNewSortPosition(?int $previousItemId, ?int $nextItemId, array $currentItemsData): float
Возвращает:
float
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$previousItemId
|
?int
|
-
|
-
|
$nextItemId
|
?int
|
-
|
-
|
$currentItemsData
|
array
|
-
|
-
|