Pagination

View helper for rendering pagination.
extends Zend\View\Helper\AbstractHelper
Methods Summary
public
# __construct( Omeka\Stdlib\Paginator $paginator )
Construct the helper.
public
# __invoke( string|null $partialName = NULL, int|null $totalCount = NULL, int|null $currentPage = NULL, int|null $perPage = NULL )
Configure the pagination.
public
# __toString( )
Render the pagination markup.
public
public
# setFragment( string $fragment )
Set a fragment to pagination URLs.
protected
# getUrl( int $page )
Get a pagination URL.
protected
# getPagelessUrl( )
Get a URL with the page parameter removed. Suitable for use as a form action URL.
Methods inherited from Zend\View\Helper\AbstractHelper
setView(), getView()
Constants Summary
public string PARTIAL_NAME
The default partial view script.
# 'common/pagination'
Properties Summary
protected Omeka\Stdlib\Paginator $paginator
# NULL
protected string|\Zend\View\Model\ModelInterface $partialName
Name of view script, or a view model
# NULL
protected string $fragment
# NULL
Properties inherited from Zend\View\Helper\AbstractHelper
$view