You are here

function fb_app_get_data in Drupal for Facebook 5

Same name and namespace in other branches
  1. 5.2 fb_app.module \fb_app_get_data()

Convenience method for other modules to attach data to the fb_app object.

16 calls to fb_app_get_data()
fb_app_load 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.
fb_canvas_primary_links in ./fb_canvas.module
fb_canvas_secondary_links in ./fb_canvas.module

... See full list

File

./fb_app.module, line 322
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;
}