Skip to content

Kirby 6.0.0

$page->prevAll()

Returns the beginning of the collection before the current item

$page->prevAll(Pages|null $collection = null): Pages

Parameters

Name Type Default
$collection Kirby\Cms\Pagesornull null

Return type

Kirby\Cms\Pages

Parent class

Kirby\Cms\Page