You are here

function xmlrpc_server_list_methods in Drupal 7

Same name and namespace in other branches
  1. 4 includes/xmlrpcs.inc \xmlrpc_server_list_methods()
  2. 5 includes/xmlrpcs.inc \xmlrpc_server_list_methods()
  3. 6 includes/xmlrpcs.inc \xmlrpc_server_list_methods()

Lists the methods available on this XML-RPC server.

XML-RPC method system.listMethods maps to this function.

Return value

array Array of the names of methods available on this server.

1 string reference to 'xmlrpc_server_list_methods'
xmlrpc_server in includes/xmlrpcs.inc
Invokes XML-RPC methods on this server.

File

includes/xmlrpcs.inc, line 312
Provides API for defining and handling XML-RPC requests.

Code

function xmlrpc_server_list_methods() {
  $xmlrpc_server = xmlrpc_server_get();
  return array_keys($xmlrpc_server->callbacks);
}