You are here

function Notifications_Subscription_Table::query_load in Notifications 7

Actually load all the subscriptions

File

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

Class

Notifications_Subscription_Table
Loadable collection of subscriptions for tablesel ect

Code

function query_load() {
  if ($sids = $this
    ->query_select()
    ->execute()
    ->fetchCol()) {
    $subscriptions = entity_load('notifications_subscription', $sids);
    $this
      ->add($subscriptions);
  }
  return $this;
}