You are here

function og_xmlrpc in Organic groups 6

Same name and namespace in other branches
  1. 5.8 og.module \og_xmlrpc()
  2. 5 og.module \og_xmlrpc()
  3. 5.2 og.module \og_xmlrpc()
  4. 5.3 og.module \og_xmlrpc()
  5. 5.7 og.module \og_xmlrpc()
  6. 6.2 og.module \og_xmlrpc()

Implementation of hook_xmlrpc(). /*

File

./og.module, line 2626

Code

function og_xmlrpc() {
  module_load_include('inc', 'og', '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.'),
    ),
  );
}