public static function Notifications_Subscription_List::build_sids in Notifications 7
Build subscription list from array of sids
3 calls to Notifications_Subscription_List::build_sids()
- notifications_account_manage_subscriptions_form in notifications_account/
notifications_account.pages.inc - Menu callback: user subscriptions management
- notifications_account_subscription_list_form in notifications_account/
notifications_account.pages.inc - List form for subscriptions of the same type for a user
- notifications_admin_manage_subscriptions in ./
notifications.admin.inc - Menu callback: subscriptions administration.
File
- ./
notifications.list.inc, line 263 - Drupal Notifications Framework - Default class file
Class
- Notifications_Subscription_List
- List of subscriptions or subscription types
Code
public static function build_sids($sids) {
// PHP 5.3.0 only, we may want to construct another class extending this one
$class = get_called_class();
$list = new $class();
$list
->load_multiple($sids);
return $list;
}