class BootstrapFourPresenter implements Presenter (View source)

Traits

Methods

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.

Htmlable|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

at line line 34
void __construct( Paginator $paginator, UrlWindow $window = null)

Create a new Bootstrap presenter instance.

Parameters

Paginator $paginator
UrlWindow $window

Return Value

void

at line line 45
bool hasPages()

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

Return Value

bool

at line line 55
Htmlable|string render()

Convert the URL window into Bootstrap HTML.

Return Value

Htmlable|string