class Presenter (View source)
void | __construct(Paginator $paginator) Create a new Presenter instance. | |
string | getPageLinkWrapper(string $url, int $page, string $rel = null) Get HTML wrapper for a page link. | |
string | getDisabledTextWrapper(string $text) Get HTML wrapper for disabled text. | |
string | getActivePageWrapper(string $text) Get HTML wrapper for active text. | |
string | render() Render the Pagination contents. | |
string | getPageRange(int $start, int $end) Create a range of pagination links. | |
string | getAdjacentRange() Get the page range for the current page window. | |
string | getStart() Create the beginning leader of a pagination slider. | |
string | getFinish() Create the ending cap of a pagination slider. | |
string | getPrevious(string $text = '«') Get the previous page pagination element. | |
string | getNext(string $text = '»') Get the next page pagination element. | |
string | getDots() Get a pagination "dot" element. | |
string | getLink(mixed $page) Create a pagination slider link. | |
void | setCurrentPage(int $page) Set the value of the current page. | |
void | setLastPage(int $page) Set the value of the last page. |
Create a new Presenter instance.
Get HTML wrapper for a page link.
Get HTML wrapper for disabled text.
Get HTML wrapper for active text.
Render the Pagination contents.
Create a range of pagination links.
Get the page range for the current page window.
Create the beginning leader of a pagination slider.
Create the ending cap of a pagination slider.
Get the previous page pagination element.
Get the next page pagination element.
Get a pagination "dot" element.
Create a pagination slider link.
Set the value of the current page.
Set the value of the last page.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Pagination/Presenter.html