Skip to content

Kirby 5.0.4

$pages->pagination()

Get the previously added pagination object

$pages->pagination(): Kirby\Cms\Pagination|null

Return types

Kirby\Cms\Paginationornull

This method modifies the existing $pages object it is applied to and returns it again.

Parent class

Kirby\Cms\Pages inherited from Kirby\Cms\Collection

Check out the docs for the $pagination object