8 class IXR_ClientMulticall extends IXR_Client
15 function __construct( $server, $path = false, $port = 80 )
17 parent::IXR_Client($server, $path, $port);
18 $this->useragent = 'The Incutio XML-RPC PHP Library (multicall client)';
24 public function IXR_ClientMulticall( $server, $path = false, $port = 80 ) {
25 self::__construct( $server, $path, $port );
30 $args = func_get_args();
31 $methodName = array_shift($args);
33 'methodName' => $methodName,
36 $this->calls[] = $struct;
41 // Prepare multicall, then call the parent::query() method
42 return parent::query('system.multicall', $this->calls);