You are here

function Notifications_Subscription::get_objects in Notifications 7

Same name and namespace in other branches
  1. 6.4 includes/notifications_subscription.class.inc \Notifications_Subscription::get_objects()

Get objects associated to this subscription's fields

1 call to Notifications_Subscription::get_objects()
Notifications_Subscription::object_access in ./notifications.subscription.inc
Check access to all the subscription objects

File

./notifications.subscription.inc, line 1403
Drupal Notifications Framework - Default class file

Class

Notifications_Subscription
Common base for subscription type and subscription instance

Code

function get_objects($filter = NULL) {
  $objects = array();
  foreach ($this
    ->get_fields($filter) as $index => $field) {
    $objects[$index] = $field
      ->get_object();
  }
  return $objects;
}