function Messaging_Send_Method::send_multiple in Messaging 7
Same name and namespace in other branches
- 6.3 classes/messaging_method.class.inc \Messaging_Send_Method::send_multiple()
Send message to multiple destinations
1 call to Messaging_Send_Method::send_multiple()
- Messaging_Send_Method::message_send in ./
messaging.method.inc - Send message to a single or multiple destination
File
- ./
messaging.method.inc, line 215 - Drupal Messaging Framework - Send_Method class file
Class
- Messaging_Send_Method
- Sending method, implements all specific method functionality
Code
function send_multiple($destinations, $message) {
$results = array();
foreach ($destinations as $key => $destination) {
$results[$key] = $this
->send_destination($destination, $message);
}
return $results;
}