« Back to Product

Documentation

GetMessageList

Require: IP-Symcon >= 5.0

 array GetMessageList ()

Returns

Array of all active messages

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 
$MessageList = $this->GetMessageList();

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