Skip to content

Kirby 6.0.1

$hasSiblings->prevAll()

Returns the beginning of the collection before the current item

$hasSiblings->prevAll(Collection|null $collection = null): Collection

Parameters

Name Type Default
$collection Kirby\Cms\Collectionornull null

Return type

Kirby\Cms\Collection

Parent class

Kirby\Cms\HasSiblings