You are here

function _fb_settings_url_rewrite_prefixes in Drupal for Facebook 6.3

Same name and namespace in other branches
  1. 6.2 fb_url_rewrite.inc \_fb_settings_url_rewrite_prefixes()
  2. 7.3 fb_url_rewrite.inc \_fb_settings_url_rewrite_prefixes()

Returns a list of the values which we prepend to paths when rewriting urls.

3 calls to _fb_settings_url_rewrite_prefixes()
fb_scrub_urls in ./fb.module
This method will clean up URLs. When serving canvas pages, extra information is included in URLs. This will remove the extra information. Useful when linking back to the website from a canvas page or wall post.
fb_url_inbound_alter in ./fb_url_rewrite.inc
Implementation of hook_url_inbound_alter().
fb_url_outbound_alter in ./fb_url_rewrite.inc
Implements hook_url_outbound_alter().
1 string reference to '_fb_settings_url_rewrite_prefixes'
fb_scrub_urls in ./fb.module
This method will clean up URLs. When serving canvas pages, extra information is included in URLs. This will remove the extra information. Useful when linking back to the website from a canvas page or wall post.

File

./fb_url_rewrite.inc, line 32
Performs custom url rewriting for Drupal for Facebook.

Code

function _fb_settings_url_rewrite_prefixes() {
  static $prefixes;
  if (!isset($prefixes)) {
    $prefixes = array(
      FB_SETTINGS_CB,
      FB_SETTINGS_CB_PAGE,
      FB_SETTINGS_CB_TYPE,
      FB_SETTINGS_CB_SESSION,
    );
  }
  return $prefixes;
}