You are here

function fb_canvas_is_fbml in Drupal for Facebook 5

Same name and namespace in other branches
  1. 5.2 fb_canvas.module \fb_canvas_is_fbml()
  2. 6.2 fb_canvas.module \fb_canvas_is_fbml()
8 calls to fb_canvas_is_fbml()
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_is_iframe in ./fb_canvas.module
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_form_form_alter in ./fb_form.module
hook_form_alter.

... See full list

4 string references to 'fb_canvas_is_fbml'
fb_form_form_alter in ./fb_form.module
hook_form_alter.
fb_form_invite_page in ./fb_form.module
Create a page to invite friends to add an app.
fb_settings_url_rewrite in ./fb_settings.inc
Rewrite URLs for facebook canvas pages.
phptemplate_fieldset in themes/fb_fbml/template.php

File

./fb_canvas.module, line 238
This module provides some app-specific navigation to facebook apps. This is fairly experimental material. May change a lot in near future.

Code

function fb_canvas_is_fbml() {
  global $fb, $fb_app;
  if ($fb && $fb_app) {
    return $fb
      ->in_fb_canvas() || fb_canvas_handling_form();
  }
}