listItems()

Overview

public array function listItems(
      required string enum
)

Returns an array of items for the given enum. Each item is a struct with id, label and description keys (label and description) are translated on the fly. The order of the items obeys the order in which they were defined in the enum.

Arguments

NameTypeRequiredDescription
enumstringYesID of the enum whose items you wish to list