Skip to content

Kirby 4.1.0

$blocks->paginate()

Add pagination and return a sliced set of data.

$blocks->paginate(mixed ...$arguments = null): Kirby\Cms\Blocks

Parameters

Name Type Default
... $arguments mixed null

Return type

Kirby\Cms\Blocks

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

Parent class

Kirby\Cms\Blocks inherited from Kirby\Cms\Collection