function xmlrpc_server_get_capabilities

Returns a list of the capabilities of this server.

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

Return value

array Array of server capabilities.

See also

http://groups.yahoo.com/group/xml-rpc/message/2897

1 string reference to 'xmlrpc_server_get_capabilities'
xmlrpc_server in drupal/core/modules/xmlrpc/xmlrpc.server.inc
Invokes XML-RPC methods on this server.

File

drupal/core/modules/xmlrpc/xmlrpc.server.inc, line 340
Page callback file for the xmlrpc module.

Code

function xmlrpc_server_get_capabilities() {
  return array(
    'xmlrpc' => array(
      'specUrl' => 'http://www.xmlrpc.com/spec',
      'specVersion' => 1,
    ),
    'faults_interop' => array(
      'specUrl' => 'http://xmlrpc-epi.sourceforge.net/specs/rfc.fault_codes.php',
      'specVersion' => 20010516,
    ),
    'system.multicall' => array(
      'specUrl' => 'http://www.xmlrpc.com/discuss/msgReader$1208',
      'specVersion' => 1,
    ),
    'introspection' => array(
      'specUrl' => 'http://scripts.incutio.com/xmlrpc/introspection.html',
      'specVersion' => 1,
    ),
  );
}