Skip to content

Kirby 4.2.0


Add pagination and return a sliced set of data.

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


Name Type Default
... $arguments mixed null

Return type


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