Skip to content

Kirby 4.2.0

$layouts->paginate()

Add pagination and return a sliced set of data.

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

Parameters

Name Type Default
... $arguments mixed null

Return type

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