Skip to content

Kirby 5.1.1

$users->prev()

Moves the cursor to the previous element and returns it

$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\Toolkit\Iterator