You are here

function Messaging_Send_Method::send_destination in Messaging 7

Same name and namespace in other branches
  1. 6.4 includes/messaging_method.class.inc \Messaging_Send_Method::send_destination()

Send message to destination

1 call to Messaging_Send_Method::send_destination()
Messaging_Send_Method::send_multiple in ./messaging.method.inc
Send message to multiple destinations

File

./messaging.method.inc, line 201
Drupal Messaging Framework - Send_Method class file

Class

Messaging_Send_Method
Sending method, implements all specific method functionality

Code

function send_destination($destination, $message) {

  // Set destination to message template
  $message
    ->get_template()
    ->set_destination($destination);
  return $this
    ->send_address($destination
    ->get_address(), $message);
}