Merx

$productPage->prevAll()

Returns the beginning of the collection before the current item

$productPage->prevAll(TCollection|null $collection = null): TCollection

Parameters

Name Type Default
$collection TCollection or null null

Return type

TCollection

Parent class

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