ListUtility
Utility function for working with resource-lists
Table of Contents
Methods
- resolveSpecialFolderName() : string
- resolveSpecialFolderNames() : array<string|int, Folder>
- Resolve special folders (by their role) into localised string
Methods
resolveSpecialFolderName()
public
static resolveSpecialFolderName(Folder $folder) : string
Parameters
- $folder : Folder
Return values
stringresolveSpecialFolderNames()
Resolve special folders (by their role) into localised string
public
static resolveSpecialFolderNames(array<string|int, Folder> $folders) : array<string|int, Folder>
Parameters
- $folders : array<string|int, Folder>
Return values
array<string|int, Folder> —Folders using the Folder name (with or without role) as key