You are here

function fb_settings in Drupal for Facebook 5.2

Same name and namespace in other branches
  1. 5 fb_settings.inc \fb_settings()
  2. 6.3 fb_settings.inc \fb_settings()
  3. 6.2 fb_settings.inc \fb_settings()
  4. 7.3 fb_settings.inc \fb_settings()
8 calls to fb_settings()
fb_canvas_fb in ./fb_canvas.module
Implementation of hook_fb.
fb_canvas_page_type in ./fb_canvas.module
Returns the 'type' of the page. This helps themes determine whether they are to provide an iframe or an iframe within FBML.
fb_canvas_process in ./fb_canvas.module
This function uses regular expressions to convert links on canvas pages to URLs that begin http://apps.facebook.com/...
fb_devel_canvas_info in ./fb_devel.module
fb_devel_fb in ./fb_devel.module

... See full list

1 string reference to 'fb_settings'
fb_canvas_fb in ./fb_canvas.module
Implementation of hook_fb.

File

./fb_settings.inc, line 111

Code

function fb_settings($key, $value = NULL) {
  static $cache = array();
  if (isset($value)) {
    $cache[$key] = $value;
  }
  return $cache[$key];
}