function og_xmlrpc in Organic groups 6.2
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()
- 5.7 og.module \og_xmlrpc()
- 6 og.module \og_xmlrpc()
Implementation of hook_xmlrpc().
File
- ./
og.module, line 2828 - Code for the Organic Groups module.
Code
function og_xmlrpc() {
module_load_include('inc', 'og', 'includes/og.xmlrpc');
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.'),
),
);
}