$page->prevAll()
Returns the beginning of the collection before the current item
$page->prevAll(Kirby\Cms\Pages|null $collection = null): Kirby\Cms\Pages
Parameters
Name | Type | Default |
---|---|---|
$collection | Kirby\Cms\Pages ornull |
null
|
Return type
This method modifies the existing $page
object it is applied to and returns it again.