Skip to content

Kirby 6.0.0

$lazyCollection->paginate()

Add pagination and return a sliced set of data.

$lazyCollection->paginate(mixed ...$arguments): 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