Метод pagerOf
Сигнатура метода
private static function pagerOf(?PaginationStructure $pagination): Pager
Возвращает:
Pager
Описание
The page a list is asked for. A request that names no paging gets the default page of the framework rather than the whole set: an unbounded external read is not on offer. The bounds are checked here because {@see PaginationStructure} lets a negative page through while {@see Pager} throws on one, and a page a client can fix must be answered as a request it can fix - the same guard the group of product rows keeps ({@see \Bitrix\Crm\V2\Infrastructure\Rest\Dto\Mapping\Item\ProductRow\ProductRowListRequestMapper::mapPager()}).
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$pagination
|
?PaginationStructure
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulescrm/lib/V2/Infrastructure/Rest/CustomController/Address/Address.php