You are here

public function HeartbeatMessageTemplate::set_arguments in Heartbeat 6.4

Sets the concatenation arguments

1 call to HeartbeatMessageTemplate::set_arguments()
HeartbeatMessageTemplate::__construct in includes/heartbeatmessagetemplate.inc
Constructor

File

includes/heartbeatmessagetemplate.inc, line 57
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 set_arguments($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;
  }
}