Skip to content

Kirby 4.5.0

$items->prev()

Moves the cursor to the previous element and returns it

$items->prev(): mixed|null

Return type

mixed|null

Parent class

Kirby\Cms\Items inherited from Kirby\Toolkit\Iterator