Skip to content

Kirby 6.0.0

$page->nextAll()

Returns the end of the collection starting after the current item

$page->nextAll(Pages|null $collection = null): Pages

Parameters

Name Type Default
$collection Kirby\Cms\Pagesornull null

Return type

Kirby\Cms\Pages

Parent class

Kirby\Cms\Page