Skip to content

Kirby 5.0.0

$layouts->paginate()

Add pagination and return a sliced set of data.

$layouts->paginate(...$arguments): Kirby\Cms\Layouts

Parameters

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

Return types

Kirby\Cms\Layouts

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

Parent class

Kirby\Cms\Layouts inherited from Kirby\Cms\Collection