Skip to content

Kirby 5.3.0

$users->prev()

Moves the cursor to the previous element and returns it

Deprecated
$users->prev(): Kirby\Cms\User

Return type

Kirby\Cms\User

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

Parent class

Kirby\Cms\Users inherited from Kirby\Cms\LazyCollection