$structure->nth()
Returns the nth element from the collection
Parameters
Name | Type | Default |
---|---|---|
$n * | int |
– |
Return type
mixed
Parent class
Kirby\Cms\Structure
inherited from Kirby\Toolkit\Collection
Returns the nth element from the collection
Name | Type | Default |
---|---|---|
$n * | int |
– |
mixed
Kirby\Cms\Structure
inherited from Kirby\Toolkit\Collection