Dir::inventory()
Scans the directory and analyzes files, content, meta info and children. This is used in Kirby\Cms\Page
, Kirby\Cms\Site
and Kirby\Cms\User
objects to fetch all relevant information.
Parameters
Name | Type | Default |
---|---|---|
$dir * | string |
– |
$contentExtension | string |
'txt' |
$contentIgnore | array |
null |
$multilang | bool |
false |
Return type
array