Skip to content

XML_RPC_Response

Mathieu Nayrolles edited this page Jan 20, 2016 · 1 revision

XML_RPC_Response

XML-RPC Response class

  • Class name: XML_RPC_Response
  • Namespace:

Properties

$val

public mixed $val

Value

  • Visibility: public

$errno

public integer $errno

Error number

  • Visibility: public

$errstr

public string $errstr = ''

Error message

  • Visibility: public

$headers

public array $headers = array()

Headers list

  • Visibility: public

$xss_clean

public boolean $xss_clean = TRUE

XSS Filter flag

  • Visibility: public

Methods

__construct

void XML_RPC_Response::__construct(mixed $val, integer $code, string $fstr)

Constructor

  • Visibility: public

Arguments

  • $val mixed
  • $code integer
  • $fstr string

faultCode

integer XML_RPC_Response::faultCode()

Fault code

  • Visibility: public

faultString

string XML_RPC_Response::faultString()

Fault string

  • Visibility: public

value

mixed XML_RPC_Response::value()

Value

  • Visibility: public

prepare_response

string XML_RPC_Response::prepare_response()

Prepare response

  • Visibility: public

decode

array XML_RPC_Response::decode(mixed $array)

Decode

  • Visibility: public

Arguments

  • $array mixed

xmlrpc_decoder

array XML_RPC_Response::xmlrpc_decoder($xmlrpc_val)

XML-RPC Object to PHP Types

  • Visibility: public

Arguments

  • $xmlrpc_val mixed

iso8601_decode

integer XML_RPC_Response::iso8601_decode($time, $utc)

ISO-8601 time to server or UTC time

  • Visibility: public

Arguments

  • $time mixed
  • $utc mixed
Clone this wiki locally