You are here

function oauth_common_context_export in OAuth 1.0 7.4

Same name and namespace in other branches
  1. 6.3 oauth_common.module \oauth_common_context_export()
  2. 7.3 oauth_common.module \oauth_common_context_export()

Export an context.

Return value

string

1 call to oauth_common_context_export()
oauth_common_export_context in ./oauth_common.admin.inc
Page callback to export a context to PHP code.
1 string reference to 'oauth_common_context_export'
oauth_common_schema in ./oauth_common.install
Implements hook_schema().

File

./oauth_common.module, line 555

Code

function oauth_common_context_export($context, $indent = '') {
  if (!module_exists('ctools')) {
    return FALSE;
  }
  ctools_include('export');
  $output = ctools_export_object('oauth_common_context', $context, $indent);
  return $output;
}