function fb_canvas_is_iframe in Drupal for Facebook 5
Same name and namespace in other branches
- 5.2 fb_canvas.module \fb_canvas_is_iframe()
- 6.3 fb_canvas.module \fb_canvas_is_iframe()
- 6.2 fb_canvas.module \fb_canvas_is_iframe()
- 7.3 fb_canvas.module \fb_canvas_is_iframe()
4 calls to fb_canvas_is_iframe()
- 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_settings_url_rewrite in ./
fb_settings.inc - Rewrite URLs for facebook canvas pages.
- _phptemplate_variables in themes/
fb_fbml/ template.php
1 string reference to 'fb_canvas_is_iframe'
- _phptemplate_variables in themes/
fb_fbml/ template.php
File
- ./
fb_canvas.module, line 244 - 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_iframe() {
global $fb, $fb_app;
if ($fb && $fb_app) {
return $fb
->in_frame() && !fb_canvas_is_fbml();
}
}