Review main Abandoned

62173[FEATURE] Introduce paginate view helper

Alexander Schnitzler CR 0 V 0 Hard +454 −16 updated 06/18/22, 23:37

Commit message

To provide an alternative to the pagination widget,
which is unnecessarily complex, a simple paginate
view helper has been introduced which can be used
via `<f:paginate />`.

It's purpose is to replace the widget versions
`<f:widget.paginate />` and `<f:be.widget.paginate />`
completely to to able to deprecate the usage of fluid
widgets in general.

This view helper uses a SimplePagination to render
all pagination related variables. If there is a need
for a more sophisticated pagination, this view helper
should be avoided. Instead the user should create a
custom paginator object in the controller, pass it
into the view and render the pagination directly.

Alternatively, custom paginate view helpers can be
created but there is actually no need to use a view
helper at all as all methods defined by the
PaginationInterface are getters and therefore fluid
compatible.

Review

  • Code review CR 0

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

  • Verified V 0

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

Issues 1

Files 20