Dir::inventory()
Scans the directory and analyzes files, content, meta info and children. This is used in Page, Site and 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