You are here

public function HeartbeatActivity::rebuild_message in Heartbeat 7

Same name and namespace in other branches
  1. 6.4 includes/heartbeatactivity.inc \HeartbeatActivity::rebuild_message()
2 calls to HeartbeatActivity::rebuild_message()
HeartbeatActivity::create_grouped_message in includes/heartbeatactivity.inc
HeartbeatActivity::__construct in includes/heartbeatactivity.inc
constructor

File

includes/heartbeatactivity.inc, line 276
HeartbeatActivity object Defines one heartbeat activity object.

Class

HeartbeatActivity
Class defines an activity message object

Code

public function rebuild_message($concat = FALSE) {
  $template_message = $concat ? $this->template->message_concat : $this->template->message;

  //$this->message = strtr($template_message, $this->variables);
  $this->message = t($template_message, $this->variables);
  return $this->message;
}