$listField->next()
Returns the next item in the collection if available
$listField->next(TCollection|null $collection = null): ListField|null
Parameters
| Name | Type | Default |
|---|---|---|
| $collection | TCollectionornull |
null
|
Return types
Kirby\Form\Field\ListFieldornull
This method does not modify the existing $listfield object but returns a new object with the changes applied. Learn more →
Parent class
Kirby\Form\Field\ListField
inherited from Kirby\Form\Field