function notifications_ui_object_subscriptions in Notifications 6.4
Same name and namespace in other branches
- 7 notifications_ui/notifications_ui.module \notifications_ui_object_subscriptions()
Get list of possible and existing subscriptions for user/object
Parameters
$account: User account to get options/subscriptions for
$type: Subscription type to get options: 'user', 'node'
$object: The object to subscribe. It may be $node or $user
Return value
Array of subscription objects, that will be mixed subscription templates and actual subscriptions
1 call to notifications_ui_object_subscriptions()
- notifications_ui_node_subscriptions in notifications_ui/
notifications_ui.module - Find subscriptions options for this node
File
- notifications_ui/
notifications_ui.module, line 316 - User Interface for subscriptions modules
Code
function notifications_ui_object_subscriptions($type, $object) {
notifications_include('object.inc');
return notifications_object_user_subscriptions($type, $object, $account);
}