public function Notifications_Message::add_subscriptions in Notifications 6.4
Same name and namespace in other branches
- 7 notifications.message.inc \Notifications_Message::add_subscriptions()
Add subscriptions
1 call to Notifications_Message::add_subscriptions()
- Notifications_Message::add_event in includes/
notifications_message.class.inc - Add event to the message. One message can be produced by one or more events.
File
- includes/
notifications_message.class.inc, line 59 - Drupal Notifications Framework - Default class file
Class
- Notifications_Message
- Wrapper for Notifications messages
Code
public function add_subscriptions($subscriptions) {
foreach ($subscriptions as $sid) {
if (!isset($this->subscriptions[$sid])) {
$this->subscriptions[$sid] = $sid;
}
}
}