function xmlrpc_server_list_methods

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.

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);
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!xmlrpcs.inc/function/xmlrpc_server_list_methods/7.x