PostPage
Class.
One page of the posts of a query (PostQuery::paginate()) with the number of all matching posts.
Methods
getPage()
The page, starting with 1.
Returns int
getPageCount()
The number of pages; 0 without matching posts.
Returns int
getPerPage()
The number of posts per page, as passed to PostQuery::paginate().
Returns int
getPosts()
The posts of the page, in the order of the query; an empty list after the last page.
Returns list<T>
getTotal()
The number of matching posts on all pages.
Returns int