You are here

function _notifications_object_callback in Notifications 6.4

Invoke a callback for an object type

Parameters

$type: Object type

$name: Callback name

$arg1, $arg2...: Variable arguments

2 calls to _notifications_object_callback()
notifications_object_access in includes/object.inc
Check access to an object for user account
notifications_object_load in ./notifications.module
Load an object of type defined by notifications 'object types'

File

./notifications.module, line 1000
Notifications module

Code

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