Skip to content

Kirby 6.0.0

$item->nextAll()

Returns the end of the collection starting after the current item

$item->nextAll(Items|null $collection = null): Items

Parameters

Name Type Default
$collection Kirby\Cms\Itemsornull null

Return type

Kirby\Cms\Items

Parent class

Kirby\Cms\Item