Messages handling
List of Global Functions
AnyQuestion - Question with headline and Yes/No Buttons
ClearAll - Clear all stored messages (errors, messages and warnings)
ClearErrors - Clear stored errors
ClearMessages - Clear stored messages
ClearWarnings - Clear stored warnings
ClearYesNoMessages - Clear stored yes/no messages
DisplayErrors - Error popup dialog can displayed immediately when new error is stored.
DisplayMessages - Message popup dialog can be displayed immediately when a new message is stored.
DisplayWarnings - Warning popup dialog can displayed immediately when new warningr is stored.
DisplayYesNoMessages - Yes/No Message popup dialog can be displayed immediately when a new message is stored.
Error - Store new error text
Export - Dump the Report settings to a map, for autoinstallation use.
GetMessages - Create rich text string from stored warning, message or error messages.
GetModified - Functions which returns if the settings were modified
Import - Get all the Report configuration from a map.
LogErrors - Set warnings logging to .y2log file
LogMessages - Set messages logging to .y2log file
LogWarnings - Set warnings logging to .y2log file
LogYesNoMessages - Set yes/no messages logging to .y2log file
LongError - Store new error text, the text is displayed in a richtext widget - long lines are automatically wrapped
LongMessage - Store new message text, the text is displayed in a richtext widget - long lines are automatically wrapped
LongWarning - Store new warning text, the text is displayed in a richtext widget - long lines are automatically wrapped
Message - Store new message text
NumErrors - Return number of stored errors
NumMessages - Return number of stored messages
NumWarnings - Return number of stored warnings
NumYesNoMessages - Return number of stored yes/no messages
SetModified - Function sets internal variable, which indicates, that any settings were modified, to "true"
ShowText - Store new message text
Summary - Summary of current settings
Warning - Store new warning text
List of Global Variables
Question with headline and Yes/No Buttons
Function parameters
string headline
string message
string yes_button_message
string no_button_message
symbol focus
Return value
boolean - True if Yes is pressed, otherwise false
Error popup dialog can displayed immediately when new error is stored.
Function parameters
boolean display
integer timeout
Return value
void
Message popup dialog can be displayed immediately when a new message is stored.
Function parameters
boolean display
integer timeout
Return value
void
Warning popup dialog can displayed immediately when new warningr is stored.
Function parameters
boolean display
integer timeout
Return value
void
Yes/No Message popup dialog can be displayed immediately when a new message is stored.
Function parameters
boolean display
integer timeout
Return value
void
Dump the Report settings to a map, for autoinstallation use.
Return value
map - Map with settings
Create rich text string from stored warning, message or error messages.
Function parameters
boolean w
boolean e
boolean m
boolean ynm
Return value
string - rich text string
Functions which returns if the settings were modified
Return value
boolean - settings were modified
Get all the Report configuration from a map.
Function parameters
map settings
Return value
boolean - success
Set warnings logging to .y2log file
Function parameters
boolean log
Return value
void
Set messages logging to .y2log file
Function parameters
boolean log
Return value
void
Set warnings logging to .y2log file
Function parameters
boolean log
Return value
void
Set yes/no messages logging to .y2log file
Function parameters
boolean log
Return value
void
Store new error text, the text is displayed in a richtext widget - long lines are automatically wrapped
Function parameters
string error_string
Return value
void
Store new message text, the text is displayed in a richtext widget - long lines are automatically wrapped
Function parameters
string message_string
Return value
void
Store new warning text, the text is displayed in a richtext widget - long lines are automatically wrapped
Function parameters
string warning_string
Return value
void
Return number of stored yes/no messages
Return value
integer - number of messages
Function sets internal variable, which indicates, that any settings were modified, to "true"
Return value
void
Store new message text
Function parameters
string headline_string
string message_string
Return value
void
Summary of current settings
Return value
string - Html formatted configuration summary