Magidoc

PaginatorInfo
Object

Information about pagination using a fully featured paginator.

Fields

#

count

Non-null

Number of items in the current page.

currentPage

Non-null

Index of the current page.

firstItem

Index of the first item in the current page.

hasMorePages

Non-null

Are there more pages after this one?

lastItem

Index of the last item in the current page.

lastPage

Non-null

Index of the last available page.

perPage

Non-null

Number of items per page.

total

Non-null

Number of total available items.