Метод completeWithTheIdentifier

private static

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

private static function completeWithTheIdentifier(array $keys): array

Возвращает: array

Описание

The order with the identifier of the form as its last key - the key that makes any order complete, so that a page cut by a limit and an offset cannot lose or repeat a form whose ordered value it shares with another. An order that already names the identifier is complete as it is and is left alone: appending the key again would overwrite the direction the request asked for. The direction of the written key is fixed rather than inherited from the last requested one - any fixed direction makes the order complete, and a fixed one is easier to explain.

Параметры

1
Имя Тип По умолчанию Флаги
$keys array —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Infrastructure/Rest/Dto/Mapping/Form/FormRequestMapper.php
Расположение метода в файле
Строки 231–246

Исходный код

PHP