Merx

$orderPage->prev()

Returns the previous item in the collection if available

$orderPage->prev(TCollection|null $collection = null): Kirby\Cms\Page|null

Parameters

Name Type Default
$collection TCollection or null null

Return type

Kirby\Cms\Page or null

Parent class

Wagnerwagner\Merx\OrderPage inherited from Kirby\Cms\Page