BootstrapThreePresenter (Pagination)
BootstrapThreePresenter
class BootstrapThreePresenter implements Presenter (View source)
Traits
BootstrapThreeNextPreviousButtonRendererTrait |
UrlWindowPresenterTrait |
Methods
string | getPreviousButton( string $text = '«') Get the previous page pagination element. | from BootstrapThreeNextPreviousButtonRendererTrait |
string | getNextButton( string $text = '»') Get the next page pagination element. | from BootstrapThreeNextPreviousButtonRendererTrait |
void | __construct( Paginator $paginator, UrlWindow $window = null) Create a new Bootstrap presenter instance. | |
bool | hasPages() Determine if the underlying paginator being presented has pages to show. | |
string | render() Convert the URL window into Bootstrap HTML. |
Details
string getPreviousButton( string $text = '«')
Get the previous page pagination element.
string getNextButton( string $text = '»')
Get the next page pagination element.
void __construct( Paginator $paginator, UrlWindow $window = null)
Create a new Bootstrap presenter instance.
bool hasPages()
Determine if the underlying paginator being presented has pages to show.
string render()
Convert the URL window into Bootstrap HTML.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Pagination/BootstrapThreePresenter.html