IXR_Server::multiCall() –

You appear to be a bot. Output may be restricted

Description

Usage

IXR_Server::multiCall( $methodcalls );

Parameters

$methodcalls
( mixed ) required

Returns

void

Source

File name: wordpress/wp-includes/IXR/class-IXR-server.php
Lines:

1 to 23 of 23
    function multiCall($methodcalls)
    {
        // See http://www.xmlrpc.com/discuss/msgReader$1208
        $return = array();
        foreach ($methodcalls as $call) {
            $method = $call['methodName'];
            $params = $call['params'];
            if ($method == 'system.multicall') {
                $result = new IXR_Error(-32600, 'Recursive calls to system.multicall are forbidden');
            } else {
                $result = $this->IXR_Server::call($method, $params);
            }
            if (is_a($result, 'IXR_Error')) {
                $return[] = array(
                    'faultCode' => $result->code,
                    'faultString' => $result->message
                );
            } else {
                $return[] = array($result);
            }
        }
        return $return;
    }
 

 View on GitHub View on Trac