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 $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)

No description

Parameters

PaginationProviderInterface $itemList

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

No description

Parameters

ItemList $itemList
$permissionedStylePagination

Return Value

Pagerfanta

Pagerfanta deliverPaginationObject(ItemList $itemList, Pagerfanta $pagination)

No description

Parameters

ItemList $itemList
Pagerfanta $pagination

Return Value

Pagerfanta