UrlWindow

UrlWindow

class UrlWindow (View source)

Methods

void __construct(LengthAwarePaginator $paginator)

Create a new URL window instance.

static array make(LengthAwarePaginator $paginator, int $onEachSide = 3)

Create a new URL window instance.

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.

doc_Laravel
2016-11-02 16:43:13
Comments
Leave a Comment

Please login to continue.