$pageSiblings->nextListed()
Returns the next listed page if it exists
$pageSiblings->nextListed(Kirby\Cms\Pages|null $collection = null): Kirby\Cms\Page|null
Parameters
Name | Type | Default |
---|---|---|
$collection | Kirby\Cms\Pages ornull |
null
|
Return types
Kirby\Cms\Page
ornull
This method modifies the existing $pagesiblings
object it is applied to and returns it again.
Parent class
Kirby\Cms\PageSiblings