Skip to content

Kirby 5.3.0

$lazyCollection->paginate()

Add pagination and return a sliced set of data.

$lazyCollection->paginate(...$arguments): Kirby\Cms\LazyCollection

Parameters

Name Type Default
...$arguments mixed no default value

Return types

Kirby\Cms\LazyCollection

This method does not modify the existing $lazycollection object but returns a new object with the changes applied. Learn more →

Parent class

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