Skip to content

Kirby 5.1.2

$nestCollection->paginate()

Add pagination and return a sliced set of data

$nestCollection->paginate(...$arguments): Kirby\Cms\NestCollection

Parameters

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

Return types

Kirby\Cms\NestCollection

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

Parent class

Kirby\Cms\NestCollection inherited from Kirby\Toolkit\Collection