UrlWindow
class UrlWindow (View source)
Properties
protected LengthAwarePaginator | $paginator | The paginator implementation. |
Methods
Get the window of URLs to be shown.
Get the slider of URLs there are not enough pages to slide.
Create a URL slider links.
Get the slider of URLs when too close to the beginning of the window.
Get the slider of URLs when too close to the ending of the window.
Get the slider of URLs when a full slider can be made.
Get the page range for the current page window.
Get the starting URLs of a pagination slider.
Get the ending URLs of a pagination slider.
Determine if the underlying paginator being presented has pages to show.
Get the current page from the paginator.
Get the last page from the paginator.
Details
protected array
getSliderTooCloseToBeginning(int $window, int $onEachSide)
Get the slider of URLs when too close to the beginning of the window.
protected array
getSliderTooCloseToEnding(int $window, int $onEachSide)
Get the slider of URLs when too close to the ending of the window.
protected array
getFullSlider(int $onEachSide)
Get the slider of URLs when a full slider can be made.