You are here

public static function Notifications_Subscription::load in Notifications 6.4

Same name and namespace in other branches
  1. 7 notifications.subscription.inc \Notifications_Subscription::load()

Load from db

Parameters

$sid: Subscription id

$full: Whether to load all fields in the same operation

Overrides Messaging_Object::load

1 call to Notifications_Subscription::load()
notifications_load_subscription in ./notifications.module
Get an individual subscription.

File

includes/notifications_subscription.class.inc, line 289
Drupal Notifications Framework - Default class file

Class

Notifications_Subscription
Message destination class

Code

public static function load($sid) {
  return self::object_load(self::DB_TABLE, self::DB_KEY, $sid, 'Notifications_Subscription');
}