classmethod GetHyperEventResources(pMethod As %String = "")
as %String
Callback to return a list of resources required for a specific HyperEvent.
The user must have sufficient privileges on one of the resource/permission pairs
to be permitted to execute the hyperevent. An empty string implies the user already
has sufficient privileges for the ZenMethod specified in pMethod.
method OnGetRibbonInfo(Output pDisplay As %Boolean, Output pViewIcons As %List, Output pSortOptions As %List, Output pSearchBox As %Boolean, Output pRibbonTitle As %String, Output pCommands As %List)
as %Status
This callback, if implemented returns information used to display
the standard ribbon bar. pDisplay is true if the ribbon should be displayed. pViewIcons is an array describing "view" buttons to display:
pViewIcons(n) = $LB(id,help,icon) pSortOptions is an array describing "sort" options to display:
pSortOptions(n) = $LB(id,caption,help) pSearch is true if a search box is displayed. pRibbonTitle is a title to display. pCommands is an array of command buttons to display:
pCommands(n) = $LB(id,caption,help,onclick)