Skip to content

Kirby 5.1.1

$block->nextAll()

Returns the end of the collection starting after the current item

$block->nextAll(Kirby\Cms\Blocks|null $collection = null): Kirby\Cms\Blocks

Parameters

Name Type Default
$collection Kirby\Cms\Blocksornull null

Return type

Kirby\Cms\Blocks

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

Parent class

Kirby\Cms\Block inherited from Kirby\Cms\Item