UrlWindow
class UrlWindow (View source)
Methods
void
static
array
array
get(
int $onEachSide = 3)
Get the window of URLs to be shown.
array
getAdjacentUrlRange(
int $onEachSide)
Get the page range for the current page window.
array
getStart()
Get the starting URLs of a pagination slider.
array
getFinish()
Get the ending URLs of a pagination slider.
bool
hasPages()
Determine if the underlying paginator being presented has pages to show.
Details
at line line 22
void
__construct(
LengthAwarePaginator $paginator)
Create a new URL window instance.
at line line 34
static
array
make(
LengthAwarePaginator $paginator,
int $onEachSide = 3)
Create a new URL window instance.
at line line 162
array
getAdjacentUrlRange(
int $onEachSide)
Get the page range for the current page window.
at line line 198
bool
hasPages()
Determine if the underlying paginator being presented has pages to show.