Skip to content

Kirby 5.0.4

$fieldClass->prevAll()

Returns the beginning of the collection before the current item

$fieldClass->prevAll(Kirby\Form\Fields|null $collection = null): Kirby\Form\Fields

Parameters

Name Type Default
$collection Kirby\Form\Fieldsornull null

Return type

Kirby\Form\Fields

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

Parent class

Kirby\Form\FieldClass