« Back to Product

Documentation

GetMessageList

Require: Symcon >= 5.0

 array GetMessageList ()

Returns

Array of all active messages. The order of the entries is not guaranteed.

Description

This function returns an array with all active messages that were registered via RegisterMessage.
A list of message IDs is available here: Messages

Warning

To cancel a registration, UnregisterMessage can be used.

Example

// Returns an array of the active registered messages 
print_r($this->GetMessageList());

// Sample output:
array(1) {
  [12345]=> //ID of the Instance
  array(1) {
    [0]=>
    int(10505) //MessageID => IM_CHANGESTATUS
  } 
}
Any questions?