You are here

function fb_settings in Drupal for Facebook 5

Same name and namespace in other branches
  1. 5.2 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()
5 calls to fb_settings()
fb_app_fb in ./fb_app.module
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_fb in ./fb_devel.module
fb_settings_url_rewrite in ./fb_settings.inc
Rewrite URLs for facebook canvas pages.
1 string reference to 'fb_settings'
fb_app_fb in ./fb_app.module
hook_fb

File

./fb_settings.inc, line 117

Code

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