Skip to content

Kirby 3.5.7.1

Dir::index()

Read the directory and all subdirectories

Dir::index(string $dir, bool $recursive = false, array $ignore = null, string $path = null): array

Parameters

Name Type Default
$dir * string
$recursive bool false
$ignore array null
$path string null

Return type

array

Parent class

Kirby\Cms\Dir inherited from Kirby\Toolkit\Dir