You are here

function Messaging_Send_Method::send in Messaging 6.3

Send message to destination by calling the method's send callback

1 call to Messaging_Send_Method::send()
Messaging_Send_Method::message_send in classes/messaging_method.class.inc
Send a message to a single destination

File

classes/messaging_method.class.inc, line 37
Drupal Messaging Framework - Send_Method class file

Class

Messaging_Send_Method
Sending method, implements all specific method functionality

Code

function send($destination, $message) {

  // Translate destination object to old fashion parameters
  $callback = $this
    ->get_callback('send');
  $params = $message
    ->get_params($this->method);
  return $this
    ->callback_invoke($callback, $destination, $message, $params);
}