Skip to content

Kirby 5.0.4

$collection->pagination()

Get the previously added pagination object

$collection->pagination(): Kirby\Cms\Pagination|null

Return types

Kirby\Cms\Paginationornull

This method modifies the existing $collection object it is applied to and returns it again.

Parent class

Kirby\Cms\Collection