You are here

function Messaging_Message::get_method_params in Messaging 6.4

Get sending method parameters

File

includes/messaging_message.class.inc, line 555
Drupal Messaging Framework - Message class file

Class

Messaging_Message
Message class

Code

function get_method_params($method = NULL) {
  $method = $method ? $method : $this->method;

  // First get specific parameters for this sending method
  $params = $this
    ->get_params($method);

  // Check for specific parameters for this method group
  if ($group = $this
    ->send_method()
    ->get_info('group')) {
    $params += $this
      ->get_params($group);
  }
  return $params;
}