Same name and namespace in other branches
  1. 4.6.x includes/xmlrpcs.inc \xmlrpc_server_get_capabilities()
  2. 4.7.x includes/xmlrpcs.inc \xmlrpc_server_get_capabilities()
  3. 5.x includes/xmlrpcs.inc \xmlrpc_server_get_capabilities()
  4. 6.x includes/xmlrpcs.inc \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 includes/xmlrpcs.inc
Invokes XML-RPC methods on this server.

File

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

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