You are here

function oauth_common_context_export in OAuth 1.0 6.3

Same name and namespace in other branches
  1. 7.4 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.
2 string references to 'oauth_common_context_export'
oauth_common_schema in ./oauth_common.install
Implementation of hook_schema().
_oauth_common_oauth_common_context_6200 in updates/update.6200.inc

File

./oauth_common.module, line 537

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;
}