You are here

public function heartbeatParser::merge_sets in Heartbeat 6.3

Same name and namespace in other branches
  1. 6.4 includes/heartbeatparser.inc \heartbeatParser::merge_sets()
  2. 7 includes/heartbeatparser.inc \heartbeatParser::merge_sets()

Merges sets of messages to fully formatted messages regenerated at runtime to group settings

File

includes/heartbeatparser.inc, line 54

Class

heartbeatParser

Code

public function merge_sets() {
  $set_count = 0;
  foreach ($this->_sets as $message_set) {
    $this
      ->prepare_candidates($message_set, $set_count);
    $set_count++;
  }
  $this
    ->remove_variables_duplicates();
  $this
    ->rebuild_in_groups();
  return $count;
}