You are here

function fb_canvas_handling_form in Drupal for Facebook 5

Same name and namespace in other branches
  1. 5.2 fb_canvas.module \fb_canvas_handling_form()
  2. 6.2 fb_canvas.module \fb_canvas_handling_form()
2 calls to fb_canvas_handling_form()
fb_canvas_fb in ./fb_canvas.module
Implementation of hook_fb.
fb_canvas_is_fbml in ./fb_canvas.module

File

./fb_canvas.module, line 251
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_handling_form() {
  global $fb;

  // Test whether a form has been submitted via facebook canvas page.
  if ($fb && $_REQUEST['form_id'] && $_REQUEST['_fb_handling_form']) {
    return TRUE;
  }
}