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
Internal
Return values
string

resolveSpecialFolderNames()

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


        
On this page

Search results