function xmlrpc_server_get_capabilities
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
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, ), ); }
© 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_get_capabilities/7.x