You are here

function Notifications_Subscription_List::load_multiple in Notifications 7

Load multiple subscriptions into the list

File

./notifications.list.inc, line 63
Drupal Notifications Framework - Default class file

Class

Notifications_Subscription_List
List of subscriptions or subscription types

Code

function load_multiple($sids = array(), $conditions = array()) {
  $this->instance_params = $conditions;
  if ($subs = entity_load('notifications_subscription', $sids, $conditions)) {
    $this
      ->add($subs);
  }
  return $this;
}