You are here

public function HeartbeatMessageTemplate::setArguments in Heartbeat 7

Sets the concatenation arguments

1 call to HeartbeatMessageTemplate::setArguments()
HeartbeatMessageTemplate::init in includes/heartbeatmessagetemplate.inc
init().

File

includes/heartbeatmessagetemplate.inc, line 94
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 setArguments($concat_args) {
  if (is_string($concat_args)) {
    $this->concat_args = heartbeat_decode_message_variables($concat_args);
  }
  elseif (is_array($concat_args)) {
    $this->concat_args = $concat_args;
  }
}