Skip to content

IXR_ClassServer

Extension of the {@link IXR_Server} class to easily wrap objects.

Class is designed to extend the existing XML-RPC server to allow the presentation of methods from a variety of different objects via an XML-RPC server. It is intended to assist in organization of your XML-RPC methods by allowing you to "write once" in your existing model classes and present them.

  • Full name: \IXR_ClassServer
  • Parent class: \IXR_Server

Properties

_objects

public $_objects

_delim

public $_delim

Methods

__construct

public __construct(mixed $delim = '.', mixed $wait = false): mixed

Parameters:

Parameter Type Description
$delim mixed
$wait mixed

addMethod

public addMethod(mixed $rpcName, mixed $functionName): mixed

Parameters:

Parameter Type Description
$rpcName mixed
$functionName mixed

registerObject

public registerObject(mixed $object, mixed $methods, mixed $prefix = null): mixed

Parameters:

Parameter Type Description
$object mixed
$methods mixed
$prefix mixed

call

public call(mixed $methodname, mixed $args): mixed

Parameters:

Parameter Type Description
$methodname mixed
$args mixed

Inherited methods

__construct

public __construct(mixed $callbacks = false, mixed $data = false, mixed $wait = false): mixed

Parameters:

Parameter Type Description
$callbacks mixed
$data mixed
$wait mixed

serve

public serve(mixed $data = false): mixed

Parameters:

Parameter Type Description
$data mixed

call

public call(mixed $methodname, mixed $args): mixed

Parameters:

Parameter Type Description
$methodname mixed
$args mixed

error

public error(mixed $error, mixed $message = false): mixed

Parameters:

Parameter Type Description
$error mixed
$message mixed

output

public output(mixed $xml): mixed

Parameters:

Parameter Type Description
$xml mixed

hasMethod

public hasMethod(mixed $method): mixed

Parameters:

Parameter Type Description
$method mixed

setCapabilities

public setCapabilities(): mixed

getCapabilities

public getCapabilities(mixed $args): mixed

Parameters:

Parameter Type Description
$args mixed

setCallbacks

public setCallbacks(): mixed

listMethods

public listMethods(mixed $args): mixed

Parameters:

Parameter Type Description
$args mixed

multiCall

public multiCall(mixed $methodcalls): mixed

Parameters:

Parameter Type Description
$methodcalls mixed


Automatically generated on 2025-03-18