You are here

public function Messaging_Message::send_all in Messaging 7

Send message through all sending methods

File

./messaging.message.inc, line 437
Drupal Messaging Framework - Message class file

Class

Messaging_Message
Message class

Code

public function send_all() {
  $result = array();
  foreach ($this->destination as $method => $destinations) {
    $this
      ->set_method($method);
    $result[$method] = $this
      ->send();
  }
  return $result;
}