class PagerPagination extends Pagination (View source)

Properties

protected $list
protected $baseURL from  Pagination
protected $app
protected $request
protected $cursor
protected $hasNextPage
protected $currentPageResults

Methods

mixed
getBaseURL()

No description

setBaseURL(mixed $baseURL)

No description

__construct(ItemList $itemList)

No description

getTotal()

No description

getTotalResults()

No description

getTotalPages()

No description

getItemListObject()

No description

string
renderDefaultView($arguments = array())

This is a convenience method that does the following: 1. it grabs the pagination/view service (which by default is bootstrap 3) 2. it sets up URLs to start with the pass of the current page, and 3. it uses the default item list query string parameter for paging. If you need more custom functionality you should consider using the Pagerfanta\View\ViewInterface objects directly.

renderView($driver = 'application', $arguments = [])

No description

getRouteCollectionFunction()

No description

getCurrentPageResults()

No description

getLastResult()

No description

advanceToNextPage()

No description

haveToPaginate()

No description

hasNextPage()

No description

hasPreviousPage()

No description

Details

mixed getBaseURL()

No description

Return Value

mixed

setBaseURL(mixed $baseURL)

No description

Parameters

mixed $baseURL

__construct(ItemList $itemList)

No description

Parameters

ItemList $itemList

getTotal()

No description

getTotalResults()

No description

getTotalPages()

No description

getItemListObject()

No description

string renderDefaultView($arguments = array())

This is a convenience method that does the following: 1. it grabs the pagination/view service (which by default is bootstrap 3) 2. it sets up URLs to start with the pass of the current page, and 3. it uses the default item list query string parameter for paging. If you need more custom functionality you should consider using the Pagerfanta\View\ViewInterface objects directly.

Parameters

$arguments

Return Value

string

renderView($driver = 'application', $arguments = [])

No description

Parameters

$driver
$arguments

getRouteCollectionFunction()

No description

getCurrentPageResults()

No description

getLastResult()

No description

advanceToNextPage()

No description

haveToPaginate()

No description

hasNextPage()

No description

hasPreviousPage()

No description