PaginateController
class PaginateController extends AbstractWidgetController (View source)
Controller for the paginate view helper
Properties
protected AssetProxyQueryResultInterface | $assetProxyQueryResult | ||
protected array | $configuration | ||
protected int | $currentPage | ||
protected int | $pagesBefore | ||
protected int | $pagesAfter | ||
protected int | $maximumNumberOfLinks | ||
protected int | $numberOfPages | ||
protected int | $displayRangeStart | ||
protected int | $displayRangeEnd |
Methods
void
initializeAction()
No description
void
indexAction(int $currentPage = 1)
No description
void
calculateDisplayRange()
If a certain number of links should be displayed, adjust before and after amounts accordingly.
array
buildPagination()
Returns an array with the keys "pages", "current", "numberOfPages", "nextPage" & "previousPage"
Details
protected void
initializeAction()
No description
void
indexAction(int $currentPage = 1)
No description
protected void
calculateDisplayRange()
If a certain number of links should be displayed, adjust before and after amounts accordingly.
protected array
buildPagination()
Returns an array with the keys "pages", "current", "numberOfPages", "nextPage" & "previousPage"