string toHtml() Render the contents of the paginator to HTML. Return Value string
string url(int $page) Get the URL for a given page number. Parameters int $page Return Value string
$this setPath(string $path) Set the base path to assign to all URLs. Parameters string $path Return Value $this
$this setCollection(Collection $collection) Set the paginator's underlying collection. Parameters Collection $collection Return Value $this
string|null previousPageUrl() Get the URL for the previous page. Return Value string|null
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
$this setPageName(string $name) Set the query string variable used to store the page. Parameters string $name Return Value $this
static string resolveCurrentPath(string $default = '/') Resolve the current request path or return the default value. Parameters string $default Return Value string
void offsetSet(mixed $key, mixed $value) Set the item at the given offset. Parameters mixed $key mixed $value Return Value void
void offsetUnset(mixed $key) Unset the item at the given key. Parameters mixed $key Return Value void
Page 993 of 996