$productPage->prev()
Returns the previous item in the collection if available
$productPage->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\ProductPage inherited from Kirby\Cms\Page