Feature #89603

Introduce native pagination for lists

Added by Alexander Schnitzler 3 months ago. Updated 29 days ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2019-11-07
Due date:
% Done:

100%

PHP Version:
Tags:
Complexity:
Sprint Focus:

Associated revisions

Revision 36e927d4 (diff)
Added by Alexander Schnitzler about 2 months ago

[FEATURE] Introduce native pagination for lists

This patch introduces native support for pagination of
lists such as arrays or QueryResults of Extbase. The
main part of this feature is a new PaginatorInterface
that defines a basic set of methods a paginator needs
to implement.

To enable a quick creation of new paginators, an
AbstractPaginator class has been created which holds
the main pagination logic while the concrete paginator
only needs to take care of the concrete data type
handling.

The PaginatorInterface and the AbstractPaginator allow
the creation of futher paginators like one that supports
the doctrine/dbal query builder.

It's basically possible to create paginators for all
sets of items that are countable and which can be
transformed into an iterable sub set of given items.

The PaginationInterface will also be the foundation
for a new type agnostic pagination ViewHelper.

Releases: master
Resolves: #89603
Change-Id: I46c712d8112ae7dca6caaf0c9476402f6ea5054a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62239
Tested-by: Mathias Brodala <>
Tested-by: TYPO3com <>
Tested-by: Björn Jacob <>
Tested-by: Susanne Moog <>
Tested-by: Daniel Goerz <>
Reviewed-by: Mathias Brodala <>
Reviewed-by: Björn Jacob <>
Reviewed-by: Susanne Moog <>
Reviewed-by: Daniel Goerz <>

History

#1 Updated by Gerrit Code Review 3 months ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62239

#2 Updated by Alexander Schnitzler 3 months ago

  • Subject changed from Introduce pagination functionality to Introduce native pagination for lists

#3 Updated by Gerrit Code Review 3 months ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62239

#4 Updated by Gerrit Code Review 2 months ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62239

#5 Updated by Gerrit Code Review 2 months ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62239

#6 Updated by Gerrit Code Review 2 months ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62239

#7 Updated by Gerrit Code Review about 2 months ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62239

#8 Updated by Gerrit Code Review about 2 months ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62239

#9 Updated by Gerrit Code Review about 2 months ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62239

#10 Updated by Mathias Brodala about 2 months ago

  • Sprint Focus set to Remote Sprint

#11 Updated by Gerrit Code Review about 2 months ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62239

#12 Updated by Gerrit Code Review about 2 months ago

Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62239

#13 Updated by Mathias Brodala about 2 months ago

  • Sprint Focus deleted (Remote Sprint)

#14 Updated by Anonymous about 2 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#15 Updated by Benni Mack 29 days ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF