Skip to content

Kirby 6.0.0

$filePickerField->prev()

Returns the previous item in the collection if available

$filePickerField->prev(TCollection|null $collection = null): FilePickerField|null

Parameters

Name Type Default
$collection TCollectionornull null

Return types

Kirby\Form\Field\FilePickerFieldornull

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

Parent class

Kirby\Form\Field\FilePickerField inherited from Kirby\Form\Field