Review main Merged

62239[FEATURE] Introduce native pagination for lists

Alexander Schnitzler CR +2 V +2 Expert +1008 −0 updated 11/23/19, 13:39

Commit message

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.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 10