function _fb_connect_set_app in Drupal for Facebook 6.2
Same name and namespace in other branches
- 6.3 fb_connect.module \_fb_connect_set_app()
- 7.3 fb_connect.module \_fb_connect_set_app()
2 calls to _fb_connect_set_app()
- fb_connect_app_init in ./
fb_connect.module - Prepare for fbConnect use. Because a single Drupal might support multiple apps, we don't know in advance which is the fbConnect app. Theoretically, it might be possible to simultaneously use multiple apps and fbConnect, but my suspicion is…
- fb_connect_get_app in ./
fb_connect.module - Helper function for other modules to know page is connected.
File
- ./
fb_connect.module, line 207 - Support for Facebook Connect features
Code
function _fb_connect_set_app($fb_app = NULL) {
static $cache;
if (isset($fb_app)) {
$cache = $fb_app;
}
return $cache;
}