Skip to content

Kirby 5.0.4

$layoutColumn->next()

Returns the next item in the collection if available

$layoutColumn->next(Kirby\Cms\LayoutColumns|null $collection = null): Kirby\Cms\LayoutColumn|null

Parameters

Name Type Default
$collection Kirby\Cms\LayoutColumnsornull null

Return types

Kirby\Cms\LayoutColumnornull

This method does not modify the existing $layoutcolumn object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Cms\LayoutColumn inherited from Kirby\Cms\Item