You are here

function _fb_invoke in Drupal for Facebook 5

7 calls to _fb_invoke()
fb_api_init in ./fb.module
Include the necessary facebook-platform code and initialize the API object.
fb_exit in ./fb.module
When exiting we need to do some special stuff for forms
fb_get_all_apps in ./fb.module
Convenience method to return array of all know fb_apps.
fb_get_app in ./fb.module
Convenience method to get app info based on apikey or nid.
fb_get_fbu in ./fb.module
Given a local user id, find the facebook id.

... See full list

File

./fb.module, line 520

Code

function _fb_invoke($fb_app, $op, $return = NULL, $data = NULL) {
  global $fb;
  foreach (module_implements(FB_HOOK) as $name) {
    $function = $name . '_' . FB_HOOK;
    $function($fb, $fb_app, $op, $return, $data);
  }
  return $return;
}