You are here

public function Messaging_Message_Template::set_method in Messaging 7

Set sending method

Overrides Messaging_Message_Render::set_method

File

messaging_template/messaging_template.inc, line 454
Drupal Messaging Framework - Text filtering functions

Class

Messaging_Message_Template
Template for a full message (subject, body, etc..)

Code

public function set_method($method) {
  $this->method = $method;
  $this
    ->reset();
  return $this;
}