Skip to content

Kirby 3.7.5

$structure->offset()

Returns a new object starting from the given offset

$structure->offset(int $offset): Kirby\Cms\Structure

Parameters

Name Type Default Description
$offset * int The index to start from

Return type

Kirby\Cms\Structure

This method does not modify the existing $structure object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Cms\Structure inherited from Kirby\Toolkit\Collection