You are here

function Notifications_Subscription_List::set_all in Notifications 7

Set a property to all of the subscription instances

File

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

Class

Notifications_Subscription_List
List of subscriptions or subscription types

Code

function set_all($name, $value) {
  $this->instance_params[$name] = $value;
  foreach ($this
    ->get_subscriptions() as $subscription) {
    $subscription->{$name} = $value;
  }
  return $this;
}