Link Search Menu Expand Document

Constructor: reportResultChooseOption

Back to constructors index

The user must choose one of the following options, and then messages.report must be re-invoked, passing the option’s option identifier to messages.report.option.

Attributes:

NameTypeRequiredDescription
titlestringYesTitle of the option popup
optionsArray of MessageReportOptionYesAvailable options, rendered as menu entries.

Type: ReportResult

Example:

$reportResultChooseOption = ['_' => 'reportResultChooseOption', 'title' => 'string', 'options' => [MessageReportOption, MessageReportOption]];