function oauth_common_context_load_all in OAuth 1.0 6.3
Same name and namespace in other branches
- 7.4 oauth_common.module \oauth_common_context_load_all()
- 7.3 oauth_common.module \oauth_common_context_load_all()
Load all contexts.
Return value
array Array of context objects keyed by context names.
2 calls to oauth_common_context_load_all()
- oauth_common_context_list in ./
oauth_common.module - Lists all available contexts.
- oauth_common_list_context in ./
oauth_common.admin.inc - Output a list of contexts.
File
- ./
oauth_common.module, line 505
Code
function oauth_common_context_load_all() {
if (!module_exists('ctools')) {
return FALSE;
}
ctools_include('export');
return ctools_export_load_object('oauth_common_context');
}