Skip to content

Kirby 5.1.2

$pageSiblings->hasPrevUnlisted()

Checks if there's a previous unlisted page in the siblings collection

$pageSiblings->hasPrevUnlisted(Kirby\Cms\Pages|null $collection = null): bool

Parameters

Name Type Default
$collection Kirby\Cms\Pagesornull null

Return type

bool

This method modifies the existing $pagesiblings object it is applied to and returns it again.

Parent class

Kirby\Cms\PageSiblings