Class Pagination

Pagerfanta\Pagerfanta
Extended by Concrete\Core\Search\Pagination\Pagination

Methods summary

public
# __construct( Concrete\Core\Search\ItemList\ItemList $itemList, Pagerfanta\Pagerfanta\Adapter\AdapterInterface $adapter )
public
# getTotal( )
public
public
public
public string
# renderDefaultView( array $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.

public
# renderView( $driver = 'application', $arguments = array() )
public

Properties summary

protected Concrete\Core\Search\ItemList\ItemList $list
#