Метод getNextGroupedCursor

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу строки 103–123
~/bitrix/modulesim/lib/V2/Relation/Provider/RelationProvider.php

Исходный код

PHP
public

Сигнатура метода

public function getNextGroupedCursor(RelationCollection $relations, int $limit): ?RelationCursor

Возвращает: ?RelationCursor

Описание

Builds the nextCursor for grouped sort from the type-aware rank of the last element of the page (min ID of the lowest group present), NOT from Relation::getRole(). Returns null when the page is not full, so there is nothing to continue with.

Параметры

2
Имя Тип По умолчанию Флаги
$relations RelationCollection -
-
$limit int -
-