SimpleBootstrapThreePresenter (Pagination)

SimpleBootstrapThreePresenter

class SimpleBootstrapThreePresenter extends BootstrapThreePresenter (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)

Create a simple Bootstrap 3 presenter.

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.

Parameters

string $text

Return Value

string

string getNextButton( string $text = '»')

Get the next page pagination element.

Parameters

string $text

Return Value

string

void __construct( Paginator $paginator)

Create a simple Bootstrap 3 presenter.

Parameters

Paginator $paginator

Return Value

void

bool hasPages()

Determine if the underlying paginator being presented has pages to show.

Return Value

bool

string render()

Convert the URL window into Bootstrap HTML.

Return Value

string

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Pagination/SimpleBootstrapThreePresenter.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部