Skip to content

Kirby 3.8.2

$layout->nextAll()

Returns the end of the collection starting after the current item

$layout->nextAll(\Kirby\Cms\Collection|null $collection = null): Kirby\Cms\Collection

Parameters

Name Type Default
$collection Kirby\Cms\Collection|null null

Return type

Kirby\Cms\Collection

Parent class

Kirby\Cms\Layout inherited from Kirby\Cms\Item