You are here

public function HeartbeatMessageTemplate::setMessageVariables in Heartbeat 7

setMessageVariables().

Look for variables in string.

1 call to HeartbeatMessageTemplate::setMessageVariables()
HeartbeatMessageTemplate::save in includes/heartbeatmessagetemplate.inc
save().

File

includes/heartbeatmessagetemplate.inc, line 229
HeartbeatMessageTemplate Template object that holds configuration for a message template. A HeartbeatActivity object will be able to have the template as composite.

Class

HeartbeatMessageTemplate
Class HeartbeatMessageTemplate

Code

public function setMessageVariables() {
  if (!empty($this->variables)) {
    return;
  }
  $this->variables = HeartbeatMessageTemplate::getVariablesFromMessage($this->message, $this->message_concat);
}