CursorPaginator
interface CursorPaginator (View source)
Methods
Add a set of query string values to the paginator.
Get / set the URL fragment to be appended to URLs.
Add all current query string values to the paginator.
Get the URL for the previous page, or null.
The URL for the next page, or null.
No description
Get the "cursor" of the previous set of items.
Get the "cursor" of the next set of items.
Determine how many items are being shown per page.
Determine if there are enough items to split into multiple pages.
Determine if there are more items in the data source.
Get the base path for paginator generated URLs.
Determine if the list of items is empty or not.
Determine if the list of items is not empty.
Render the paginator using a given view.
Details
$this
appends(array|string|null $key, string|null $value = null)
Add a set of query string values to the paginator.
$this|string|null
fragment(string|null $fragment = null)
Get / set the URL fragment to be appended to URLs.