function fb_app_get_data in Drupal for Facebook 5.2
Same name and namespace in other branches
- 5 fb_app.module \fb_app_get_data()
Convenience method for other modules to attach data to the fb_app object.
19 calls to fb_app_get_data()
- fb_app_form in ./
fb_app.module - fb_app_load in ./
fb_app.module - fb_app_set_app_properties in ./
fb_app.module - fb_canvas_fb in ./
fb_canvas.module - Implementation of hook_fb.
- fb_canvas_form_alter in ./
fb_canvas.module - Implementation of hook_form_alter.
File
- ./
fb_app.module, line 389 - Defines a custom node type that stores a facebook application configuration.
Code
function fb_app_get_data(&$fb_app) {
if (!$fb_app->fb_app_data) {
$fb_app->fb_app_data = unserialize($fb_app->data);
}
return $fb_app->fb_app_data;
}