Метод mapPager
Сигнатура метода
public function mapPager(?PaginationStructure $pagination): Pager
Возвращает:
Pager
Описание
The page a list is asked for. A request naming no page gets the default page of the platform - 50 values - rather than the whole dictionary: an unbounded external read is not on offer. The limit and the offset are the platform ones, and this group narrows neither. What a page may be is settled by {@see PaginationStructure} alone: a limit below one and a negative offset are refused there, so a page that reaches here is one {@see Pager} accepts.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$pagination
|
?PaginationStructure
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Infrastructure/Rest/Dto/Mapping/Dictionary/DictionaryValueListRequestMapper.php
Расположение метода в файле
Строки
85–93