string url(int $page) Get the URL for a given page number. Parameters int $page Return Value string
string toHtml() Render the contents of the paginator to HTML. Return Value string
$this setPath(string $path) Set the base path to assign to all URLs. Parameters string $path Return Value $this
$this setPageName(string $name) Set the query string variable used to store the page. Parameters string $name Return Value $this
$this setCollection(Collection $collection) Set the paginator's underlying collection. Parameters Collection $collection Return Value $this
static string resolveCurrentPath(string $default = '/') Resolve the current request path or return the default value. Parameters string $default Return Value string
static int resolveCurrentPage(string $pageName = 'page', int $default = 1) Resolve the current page or return the default value. Parameters string $pageName int $default Return Value int
string|null previousPageUrl() Get the URL for the previous page. Return Value string|null
int perPage() Get the number of items shown per page. Return Value int
bool onFirstPage() Determine if the paginator is on the first page. Return Value bool
Page 993 of 996