You are here

function Messaging_Message::add_user_list in Messaging 7

Add list of users as destinations

File

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

Class

Messaging_Message
Message class

Code

function add_user_list($users) {
  foreach ($users as $index => $user) {
    $this
      ->add_user($user);
  }
  return $this;
}