IXR_IntrospectionServer::__construct() WordPress Method
The IXR_IntrospectionServer class is used to provide introspection of XML-RPC methods for a WordPress site.
IXR_IntrospectionServer::__construct() #
PHP5 constructor.
Source
File: wp-includes/IXR/class-IXR-introspectionserver.php
function __construct() { $this->setCallbacks(); $this->setCapabilities(); $this->capabilities['introspection'] = array( 'specUrl' => 'http://xmlrpc.usefulinc.com/doc/reserved.html', 'specVersion' => 1 ); $this->addCallback( 'system.methodSignature', 'this:methodSignature', array('array', 'string'), 'Returns an array describing the return type and required parameters of a method' ); $this->addCallback( 'system.getCapabilities', 'this:getCapabilities', array('struct'), 'Returns a struct describing the XML-RPC specifications supported by this server' ); $this->addCallback( 'system.listMethods', 'this:listMethods', array('array'), 'Returns an array of available methods on this server' ); $this->addCallback( 'system.methodHelp', 'this:methodHelp', array('string', 'string'), 'Returns a documentation string for the specified method' ); }
Expand full source codeCollapse full source codeView on TracView on GitHub