Package-level declarations
Types
Base interface of pagination
Properties
First number in index of objects. It can be used as offset for databases or other data sources
Logical shortcut for comparison that page is 0
Last number in index of objects. In fact, one Pagination object represent data in next range:
Last number in index of objects. In fact, one Pagination object represent data in next range:
Functions
Calculates pages count for given datasetSize
Calculates pages count for given datasetSize. As a fact, it is shortcut for calculatePagesNumber
Applies pagination to this Exposed Query. Sets the limit and offset based on the pagination parameters, and optionally orders the results.
Applies pagination to this Exposed Query with optional ordering and reversal. Sets the limit and offset based on the pagination parameters.
Factory for SimplePagination
This method DO NOT check Pagination.page of receiver. Returns pagination for previous page