Skip to content

Kirby 5.0.1

$layout->nextAll()

Returns the end of the collection starting after the current item

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

Parameters

Name Type Default
$collection Kirby\Cms\Layoutsornull null

Return type

Kirby\Cms\Layouts

Parent class

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