class PaginationFactory (View source)

Constants

PERMISSIONED_PAGINATION_STYLE_FULL

PERMISSIONED_PAGINATION_STYLE_PAGER

Properties

protected Request $request

Methods

__construct(Request $request)

PaginationFactory constructor.

Pagerfanta
createPaginationObject($itemList, $permissionedStylePagination = self::PERMISSIONED_PAGINATION_STYLE_FULL)

No description

Pagerfanta
deliverPaginationObject(ItemList $itemList, Pagerfanta $pagination)

No description

Details

__construct(Request $request)

PaginationFactory constructor.

Parameters

Request $request

protected canUseSimplePagination(PaginationProviderInterface $itemList)

Parameters

PaginationProviderInterface $itemList

Pagerfanta createPaginationObject($itemList, $permissionedStylePagination = self::PERMISSIONED_PAGINATION_STYLE_FULL)

Parameters

$itemList
$permissionedStylePagination

Return Value

Pagerfanta

Pagerfanta deliverPaginationObject(ItemList $itemList, Pagerfanta $pagination)

Parameters

ItemList $itemList
Pagerfanta $pagination

Return Value

Pagerfanta