You are here

function Messaging_Message::add_destination_list in Messaging 7

Add destination list, taking care of duplicated destinations

Parameters

$destinations: Array of destinations

File

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

Class

Messaging_Message
Message class

Code

function add_destination_list($destinations, $method = NULL) {
  foreach ($destinations as $index => $dest) {
    $this
      ->add_destination($dest, $method);
  }
  return $this;
}