function xmlrpc_server_get_capabilities
7.x xmlrpcs.inc | xmlrpc_server_get_capabilities() |
6.x 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 drupal-7.x/
includes/ xmlrpcs.inc - Invokes XML-RPC methods on this server.
File
- drupal-7.x/
includes/ xmlrpcs.inc, line 317 - 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,
),
);
}