Properties

$debug

$debug : boolean

Debug flag

Type

boolean

$xmlrpcI4

$xmlrpcI4 : string

I4 data type

Type

string

$xmlrpcInt

$xmlrpcInt : string

Integer data type

Type

string

$xmlrpcBoolean

$xmlrpcBoolean : string

Boolean data type

Type

string

$xmlrpcDouble

$xmlrpcDouble : string

Double data type

Type

string

$xmlrpcString

$xmlrpcString : string

String data type

Type

string

$xmlrpcDateTime

$xmlrpcDateTime : string

DateTime format

Type

string

$xmlrpcBase64

$xmlrpcBase64 : string

Base64 data type

Type

string

$xmlrpcArray

$xmlrpcArray : string

Array data type

Type

string

$xmlrpcStruct

$xmlrpcStruct : string

Struct data type

Type

string

$xmlrpcTypes

$xmlrpcTypes : array

Data types list

Type

array

$valid_parents

$valid_parents : array

Valid parents list

Type

array

$xmlrpcerr

$xmlrpcerr : array

Response error numbers list

Type

array

$xmlrpcstr

$xmlrpcstr : array<mixed,string>

Response error messages list

Type

array<mixed,string>

$xmlrpc_defencoding

$xmlrpc_defencoding : string

Encoding charset

Type

string

$xmlrpcName

$xmlrpcName : string

XML-RPC client name

Type

string

$xmlrpcVersion

$xmlrpcVersion : string

XML-RPC version

Type

string

$xmlrpcerruser

$xmlrpcerruser : integer

Start of user errors

Type

integer

$xmlrpcerrxml

$xmlrpcerrxml : integer

Start of XML parse errors

Type

integer

$xmlrpc_backslash

$xmlrpc_backslash : string

Backslash replacement value

Type

string

$client

$client : object

XML-RPC Client object

Type

object

$method

$method : string

XML-RPC Method name

Type

string

$data

$data : array

XML-RPC Data

Type

array

$message

$message : string

XML-RPC Message

Type

string

$error

$error : string

Request error message

Type

string

$result

$result : object

XML-RPC result object

Type

object

$response

$response : array

XML-RPC Response

Type

array

$xss_clean

$xss_clean : boolean

XSS Filter flag

Type

boolean

$path

$path : string

Path

Type

string

$server

$server : string

Server hostname

Type

string

$port

$port : integer

Server port

Type

integer

$username

$username : string

Server username

Type

string

$password

$password : string

Server password

Type

string

$proxy

$proxy : string

Proxy hostname

Type

string

$proxy_port

$proxy_port : integer

Proxy port

Type

integer

$errno

$errno : string

Error number

Type

string

$errstring

$errstring : string

Error message

Type

string

$timeout

$timeout : integer

Timeout in seconds

Type

integer

$no_multicall

$no_multicall : boolean

No Multicall flag

Type

boolean

Methods

__construct()

__construct(string  $path, object  $server, integer  $port = 80, string  $proxy = FALSE, integer  $proxy_port = 8080) : void

Constructor

Initializes property default values

Parameters

string $path
object $server
integer $port
string $proxy
integer $proxy_port

initialize()

initialize(array  $config = array()) : void

Initialize

Parameters

array $config

server()

server(string  $url, integer  $port = 80, string  $proxy = FALSE, integer  $proxy_port = 8080) : void

Parse server URL

Parameters

string $url
integer $port
string $proxy
integer $proxy_port

timeout()

timeout(integer  $seconds = 5) : void

Set Timeout

Parameters

integer $seconds

method()

method(string  $function) : void

Set Methods

Parameters

string $function

Method name

request()

request(array  $incoming) : void

Take Array of Data and Create Objects

Parameters

array $incoming

set_debug()

set_debug(boolean  $flag = TRUE) : void

Set Debug

Parameters

boolean $flag

values_parsing()

values_parsing(mixed  $value) : object

Values Parsing

Parameters

mixed $value

Returns

object

send_request()

send_request() : boolean

Sends XML-RPC Request

Returns

boolean

display_error()

display_error() : string

Returns Error

Returns

string

display_response()

display_response() : string

Returns Remote Server Response

Returns

string

send_error_message()

send_error_message(integer  $number, string  $message) : object

Sends an Error Message for Server Request

Parameters

integer $number
string $message

Returns

object

send_response()

send_response(array  $response) : object

Send Response for Server Request

Parameters

array $response

Returns

object

send()

send(mixed  $msg) : object

Send message

Parameters

mixed $msg

Returns

object

sendPayload()

sendPayload(object  $msg) : object

Send payload

Parameters

object $msg

Returns

object