You are here

function _notifications_subscription_callback in Notifications 6.4

Invoke a callback for a subscription type

Parameters

$type: Subscription type

$name: Callback name

$arg1, $arg2...: Variable arguments

File

./notifications.module, line 1017
Notifications module

Code

function _notifications_subscription_callback() {
  $args = func_get_args();
  $type = array_shift($args);
  $name = array_shift($args);
  return _notifications_info_callback(notifications_subscription_types($type), $name, $args);
}