Skip to content

Kirby 3.9.8

Pagination::for()

Creates a pagination instance for the given collection with a flexible argument api

Pagination::for(Kirby\Toolkit\Collection $collection, ...$arguments = null): Kirby\Cms\Pagination

Parameters

Name Type Default
$collection * Kirby\Toolkit\Collection
... $arguments mixed null

Return type

Kirby\Cms\Pagination

Parent class

Kirby\Cms\Pagination inherited from Kirby\Toolkit\Pagination