$_server
$_server : resource
Resource handler for the XML-RPC server.
The Horde_Rpc_Phpgw class provides an XMLRPC implementation of the Horde RPC system compatible with phpgw. It is based on the xmlrpc.php implementation by Jan Schneider.
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
getInput() : mixed
Get the request body input. Different RPC backends can override this to return an open stream to php://stdin, for instance - whatever is easiest to handle in the getResponse() method.
The base class implementation looks for $HTTP_RAW_POST_DATA and returns that if it's available; otherwise, it returns the contents of php://stdin.
The input - a string (default), a filehandle, etc.
request(string|\Horde_Url $url, string $method, \Horde_Http_Client $client, array $params = null) : mixed
Builds an XMLRPC request and sends it to the XMLRPC server.
This statically called method is actually the XMLRPC client.
string|\Horde_Url | $url | The path to the XMLRPC server on the called host. |
string | $method | The method to call. |
\Horde_Http_Client | $client | The transport client |
array | $params | A hash containing any necessary parameters for the method call. |
The returned result from the method.
factory(mixed $driver, $request, array $params = null) : \Horde_Rpc
Attempts to return a concrete RPC server instance based on $driver.
mixed | $driver | The type of concrete Horde_Rpc subclass to return. |
$request | ||
array | $params | A hash containing any additional configuration or connection parameters a subclass might need. |
The newly created concrete Horde_Rpc server instance, or an exception if there is an error.
_dispatcher(string $method, array $params, mixed $data) : mixed
Will be registered as the handler for all available methods and will call the appropriate function through the registry.
string | $method | The name of the method called by the RPC request. |
array | $params | The passed parameters. |
mixed | $data | Unknown. |
The result of the called registry method.