# HasSiblings

This trait is used by pages, files and users to handle navigation through parent collections

****

- Full class name: `Kirby\Cms\HasSiblings`
- Source: <https://github.com/getkirby/kirby/tree/5.5.3/src/Cms/HasSiblings.php#L19>

****

### HasSiblings

- [$hasSiblings->hasNext()](https://getkirby.com/docs/reference/objects/cms/has-siblings/has-next.md)
- [$hasSiblings->hasPrev()](https://getkirby.com/docs/reference/objects/cms/has-siblings/has-prev.md)
- [$hasSiblings->indexOf()](https://getkirby.com/docs/reference/objects/cms/has-siblings/index-of.md)
- [$hasSiblings->isFirst()](https://getkirby.com/docs/reference/objects/cms/has-siblings/is-first.md)
- [$hasSiblings->isLast()](https://getkirby.com/docs/reference/objects/cms/has-siblings/is-last.md)
- [$hasSiblings->isNth()](https://getkirby.com/docs/reference/objects/cms/has-siblings/is-nth.md)
- [$hasSiblings->next()](https://getkirby.com/docs/reference/objects/cms/has-siblings/next.md)
- [$hasSiblings->nextAll()](https://getkirby.com/docs/reference/objects/cms/has-siblings/next-all.md)
- [$hasSiblings->prev()](https://getkirby.com/docs/reference/objects/cms/has-siblings/prev.md)
- [$hasSiblings->prevAll()](https://getkirby.com/docs/reference/objects/cms/has-siblings/prev-all.md)
- [$hasSiblings->siblings()](https://getkirby.com/docs/reference/objects/cms/has-siblings/siblings.md)