function og_xmlrpc in Organic groups 5.7
Same name and namespace in other branches
- 5.8 og.module \og_xmlrpc()
- 5 og.module \og_xmlrpc()
- 5.2 og.module \og_xmlrpc()
- 5.3 og.module \og_xmlrpc()
- 6.2 og.module \og_xmlrpc()
- 6 og.module \og_xmlrpc()
Implementation of hook_xmlrpc().
File
- ./
og.module, line 2853
Code
function og_xmlrpc() {
require_once drupal_get_path('module', 'og') . '/og_xmlrpc.inc';
return array(
array(
'og.subscribe_user',
'og_xmlrpc_subscribe_user',
array(
'struct',
'string',
'string',
'int',
'int',
),
t('Add a user to a group.'),
),
array(
'og.getAllSubscribers',
'og_xmlrpc_get_all_subscribers',
array(
'array',
'string',
'string',
'int',
'int',
'int',
),
t('All members for a given group.'),
),
array(
'og.getUserGroups',
'og_xmlrpc_get_user_groups',
array(
'array',
'string',
'string',
'int',
),
t('Retrieve the group memberships for a given user.'),
),
);
}