Skip to content

Kirby 5.3.0

$lazyCollection->pagination()

Get the previously added pagination object

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

Return types

Kirby\Cms\Paginationornull

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

Parent class

Kirby\Cms\LazyCollection inherited from Kirby\Cms\Collection