Skip to content

Kirby 5.0.4

$page->nextAll()

Returns the end of the collection starting after the current item

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

Parameters

Name Type Default
$collection Kirby\Cms\Pagesornull null

Return type

Kirby\Cms\Pages

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

Parent class

Kirby\Cms\Page