int total() Get the total number of items being paginated. Return Value int
int total() Determine the total number of items in the data store. Return Value int
string toJson(int $options) Convert the object to its JSON representation. Parameters int $options Return Value string
string toHtml() Render the contents of the paginator to HTML. Return Value string
array toArray() Get the instance as an array. Return Value array
$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
Page 540 of 996