Skip to content

CI_Xmlrpc

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

CI_Xmlrpc

XML-RPC request handler class

  • Class name: CI_Xmlrpc
  • Namespace:

Properties

$debug

public boolean $debug = FALSE

Debug flag

  • Visibility: public

$xmlrpcI4

public string $xmlrpcI4 = 'i4'

I4 data type

  • Visibility: public

$xmlrpcInt

public string $xmlrpcInt = 'int'

Integer data type

  • Visibility: public

$xmlrpcBoolean

public string $xmlrpcBoolean = 'boolean'

Boolean data type

  • Visibility: public

$xmlrpcDouble

public string $xmlrpcDouble = 'double'

Double data type

  • Visibility: public

$xmlrpcString

public string $xmlrpcString = 'string'

String data type

  • Visibility: public

$xmlrpcDateTime

public string $xmlrpcDateTime = 'dateTime.iso8601'

DateTime format

  • Visibility: public

$xmlrpcBase64

public string $xmlrpcBase64 = 'base64'

Base64 data type

  • Visibility: public

$xmlrpcArray

public string $xmlrpcArray = 'array'

Array data type

  • Visibility: public

$xmlrpcStruct

public string $xmlrpcStruct = 'struct'

Struct data type

  • Visibility: public

$xmlrpcTypes

public array $xmlrpcTypes = array()

Data types list

  • Visibility: public

$valid_parents

public array $valid_parents = array()

Valid parents list

  • Visibility: public

$xmlrpcerr

public array $xmlrpcerr = array()

Response error numbers list

  • Visibility: public

$xmlrpcstr

public array<mixed,string> $xmlrpcstr = array()

Response error messages list

  • Visibility: public

$xmlrpc_defencoding

public string $xmlrpc_defencoding = 'UTF-8'

Encoding charset

  • Visibility: public

$xmlrpcName

public string $xmlrpcName = 'XML-RPC for CodeIgniter'

XML-RPC client name

  • Visibility: public

$xmlrpcVersion

public string $xmlrpcVersion = '1.1'

XML-RPC version

  • Visibility: public

$xmlrpcerruser

public integer $xmlrpcerruser = 800

Start of user errors

  • Visibility: public

$xmlrpcerrxml

public integer $xmlrpcerrxml = 100

Start of XML parse errors

  • Visibility: public

$xmlrpc_backslash

public string $xmlrpc_backslash = ''

Backslash replacement value

  • Visibility: public

$client

public object $client

XML-RPC Client object

  • Visibility: public

$method

public string $method

XML-RPC Method name

  • Visibility: public

$data

public array $data

XML-RPC Data

  • Visibility: public

$message

public string $message = ''

XML-RPC Message

  • Visibility: public

$error

public string $error = ''

Request error message

  • Visibility: public

$result

public object $result

XML-RPC result object

  • Visibility: public

$response

public array $response = array()

XML-RPC Reponse

  • Visibility: public

$xss_clean

public boolean $xss_clean = TRUE

XSS Filter flag

  • Visibility: public

Methods

__construct

void CI_Xmlrpc::__construct(array $config)

Constructor

Initializes property default values

  • Visibility: public

Arguments

  • $config array

initialize

void CI_Xmlrpc::initialize(array $config)

Initialize

  • Visibility: public

Arguments

  • $config array

server

void CI_Xmlrpc::server(string $url, integer $port, string $proxy, integer $proxy_port)

Parse server URL

  • Visibility: public

Arguments

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

timeout

void CI_Xmlrpc::timeout(integer $seconds)

Set Timeout

  • Visibility: public

Arguments

  • $seconds integer

method

void CI_Xmlrpc::method(string $function)

Set Methods

  • Visibility: public

Arguments

  • $function string - <p>Method name</p>

request

void CI_Xmlrpc::request(array $incoming)

Take Array of Data and Create Objects

  • Visibility: public

Arguments

  • $incoming array

set_debug

void CI_Xmlrpc::set_debug(boolean $flag)

Set Debug

  • Visibility: public

Arguments

  • $flag boolean

values_parsing

object CI_Xmlrpc::values_parsing(mixed $value)

Values Parsing

  • Visibility: public

Arguments

  • $value mixed

send_request

boolean CI_Xmlrpc::send_request()

Sends XML-RPC Request

  • Visibility: public

display_error

string CI_Xmlrpc::display_error()

Returns Error

  • Visibility: public

display_response

string CI_Xmlrpc::display_response()

Returns Remote Server Response

  • Visibility: public

send_error_message

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

Sends an Error Message for Server Request

  • Visibility: public

Arguments

  • $number integer
  • $message string

send_response

object CI_Xmlrpc::send_response(array $response)

Send Response for Server Request

  • Visibility: public

Arguments

  • $response array
Clone this wiki locally