$block->next()
Returns the next item in the collection if available
$block->next(\Kirby\Cms\Collection|null $collection = null): Kirby\Cms\Model|null
Parameters
Name | Type | Default | Description |
---|---|---|---|
$collection |
Kirby\Cms\Collection |null |
null |
Return type
Kirby\Cms\Model
|null
Inherited from
Kirby\Cms\Item