AbstractPaginator::toHtml()

string toHtml() Render the contents of the paginator to HTML. Return Value string

AbstractPaginator::url()

string url(int $page) Get the URL for a given page number. Parameters int $page Return Value string

AbstractPaginator::setPath()

$this setPath(string $path) Set the base path to assign to all URLs. Parameters string $path Return Value $this

AbstractPaginator::setCollection()

$this setCollection(Collection $collection) Set the paginator's underlying collection. Parameters Collection $collection Return Value $this

AbstractPaginator::previousPageUrl()

string|null previousPageUrl() Get the URL for the previous page. Return Value string|null

AbstractPaginator::resolveCurrentPage()

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

AbstractPaginator::setPageName()

$this setPageName(string $name) Set the query string variable used to store the page. Parameters string $name Return Value $this

AbstractPaginator::resolveCurrentPath()

static string resolveCurrentPath(string $default = '/') Resolve the current request path or return the default value. Parameters string $default Return Value string

AbstractPaginator::offsetSet()

void offsetSet(mixed $key, mixed $value) Set the item at the given offset. Parameters mixed $key mixed $value Return Value void

AbstractPaginator::offsetUnset()

void offsetUnset(mixed $key) Unset the item at the given key. Parameters mixed $key Return Value void