Skip to content

Kirby 4.5.0

$structure->getIterator()

Get an iterator for the items.

$structure->getIterator(): ArrayIterator

Return type

ArrayIterator

Parent class

Kirby\Cms\Structure inherited from Kirby\Toolkit\Iterator