1C-Bitrix 25.700.0
|
Открытые члены | |
__construct (protected int $limit=50, protected int $offset=0) | |
getLimit () | |
setLimit (int $limit) | |
getOffset () | |
setOffset (int $offset) | |
setPage (int $page) | |
setSize (int $size) |
Открытые статические члены | |
static | buildFromPageNavigation (PageNavigation $pageNavigation) |
__construct | ( | protected int | $limit = 50, |
protected int | $offset = 0 ) |
|
static |
getLimit | ( | ) |
Замещает PagerInterface.
getOffset | ( | ) |
Замещает PagerInterface.
setLimit | ( | int | $limit | ) |
int | $limit |
ArgumentException | If given limit value less than 1. |
Замещает PagerInterface.
setOffset | ( | int | $offset | ) |
int | $offset |
ArgumentException | If given offset value less than 0. |
Замещает PagerInterface.
setPage | ( | int | $page | ) |
Sets number of the selected page and automatically recalculate the offset.
int | $page | Page number (min: 1) |
ArgumentException | If given page value less than 1. |
Замещает PagerInterface.
setSize | ( | int | $size | ) |
An alias of the setLimit method.
int | $size |
ArgumentException | If given size value less than 1. |
Замещает PagerInterface.