You are here

public function heartbeatParser::merge_sets in Heartbeat 6.4

Same name and namespace in other branches
  1. 6.3 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 389
HeartbeatParser object

Class

heartbeatParser
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
    ->clean_up();
  $this
    ->rebuild_in_groups();
  return $set_count;
}