Skip to content

Kirby 4.4.1

$structure->count()

Counts all elements

$structure->count(): int

Return type

int

Parent class

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