-
Notifications
You must be signed in to change notification settings - Fork 0
CI_Xmlrpcs
XML-RPC server class
- Class name: CI_Xmlrpcs
- Namespace:
- Parent class: CI_Xmlrpc
public array $methods = array()
Array of methods mapped to function names and signatures
- Visibility: public
public string $debug_msg = ''
Debug Message
- Visibility: public
public array $system_methods = array()
XML RPC Server methods
- Visibility: public
public object $object = FALSE
Configuration object
- Visibility: public
public boolean $debug = FALSE
Debug flag
- Visibility: public
public string $xmlrpcI4 = 'i4'
I4 data type
- Visibility: public
public string $xmlrpcInt = 'int'
Integer data type
- Visibility: public
public string $xmlrpcBoolean = 'boolean'
Boolean data type
- Visibility: public
public string $xmlrpcDouble = 'double'
Double data type
- Visibility: public
public string $xmlrpcString = 'string'
String data type
- Visibility: public
public string $xmlrpcDateTime = 'dateTime.iso8601'
DateTime format
- Visibility: public
public string $xmlrpcBase64 = 'base64'
Base64 data type
- Visibility: public
public string $xmlrpcArray = 'array'
Array data type
- Visibility: public
public string $xmlrpcStruct = 'struct'
Struct data type
- Visibility: public
public array $xmlrpcTypes = array()
Data types list
- Visibility: public
public array $valid_parents = array()
Valid parents list
- Visibility: public
public array $xmlrpcerr = array()
Response error numbers list
- Visibility: public
public array<mixed,string> $xmlrpcstr = array()
Response error messages list
- Visibility: public
public string $xmlrpc_defencoding = 'UTF-8'
Encoding charset
- Visibility: public
public string $xmlrpcName = 'XML-RPC for CodeIgniter'
XML-RPC client name
- Visibility: public
public string $xmlrpcVersion = '1.1'
XML-RPC version
- Visibility: public
public integer $xmlrpcerruser = 800
Start of user errors
- Visibility: public
public integer $xmlrpcerrxml = 100
Start of XML parse errors
- Visibility: public
public string $xmlrpc_backslash = ''
Backslash replacement value
- Visibility: public
public object $client
XML-RPC Client object
- Visibility: public
public string $method
XML-RPC Method name
- Visibility: public
public array $data
XML-RPC Data
- Visibility: public
public string $message = ''
XML-RPC Message
- Visibility: public
public string $error = ''
Request error message
- Visibility: public
public object $result
XML-RPC result object
- Visibility: public
public array $response = array()
XML-RPC Reponse
- Visibility: public
public boolean $xss_clean = TRUE
XSS Filter flag
- Visibility: public
void CI_Xmlrpc::__construct(array $config)
Constructor
Initializes property default values
- Visibility: public
- This method is defined by CI_Xmlrpc
- $config array
void CI_Xmlrpc::initialize(array $config)
Initialize
- Visibility: public
- This method is defined by CI_Xmlrpc
- $config array
void CI_Xmlrpcs::set_system_methods()
Setting of System Methods
- Visibility: public
void CI_Xmlrpcs::serve()
Main Server Function
- Visibility: public
void CI_Xmlrpcs::add_to_map($methodname, $function, $sig, $doc)
Add Method to Class
- Visibility: public
- $methodname mixed
- $function mixed
- $sig mixed
- $doc mixed
object CI_Xmlrpcs::parseRequest($data)
Parse Server Request
- Visibility: public
- $data mixed
mixed CI_Xmlrpcs::_execute($m)
Executes the Method
- Visibility: protected
- $m mixed
object CI_Xmlrpcs::listMethods($m)
Server Function: List Methods
- Visibility: public
- $m mixed
object CI_Xmlrpcs::methodSignature($m)
Server Function: Return Signature for Method
- Visibility: public
- $m mixed
object CI_Xmlrpcs::methodHelp($m)
Server Function: Doc String for Method
- Visibility: public
- $m mixed
object CI_Xmlrpcs::multicall($m)
Server Function: Multi-call
- Visibility: public
- $m mixed
object CI_Xmlrpcs::multicall_error($err)
Multi-call Function: Error Handling
- Visibility: public
- $err mixed
object CI_Xmlrpcs::do_multicall($call)
Multi-call Function: Processes method
- Visibility: public
- $call mixed
void CI_Xmlrpc::server(string $url, integer $port, string $proxy, integer $proxy_port)
Parse server URL
- Visibility: public
- This method is defined by CI_Xmlrpc
- $url string
- $port integer
- $proxy string
- $proxy_port integer
void CI_Xmlrpc::timeout(integer $seconds)
Set Timeout
- Visibility: public
- This method is defined by CI_Xmlrpc
- $seconds integer
void CI_Xmlrpc::method(string $function)
Set Methods
- Visibility: public
- This method is defined by CI_Xmlrpc
- $function string - <p>Method name</p>
void CI_Xmlrpc::request(array $incoming)
Take Array of Data and Create Objects
- Visibility: public
- This method is defined by CI_Xmlrpc
- $incoming array
void CI_Xmlrpc::set_debug(boolean $flag)
Set Debug
- Visibility: public
- This method is defined by CI_Xmlrpc
- $flag boolean
object CI_Xmlrpc::values_parsing(mixed $value)
Values Parsing
- Visibility: public
- This method is defined by CI_Xmlrpc
- $value mixed
boolean CI_Xmlrpc::send_request()
Sends XML-RPC Request
- Visibility: public
- This method is defined by CI_Xmlrpc
string CI_Xmlrpc::display_error()
Returns Error
- Visibility: public
- This method is defined by CI_Xmlrpc
string CI_Xmlrpc::display_response()
Returns Remote Server Response
- Visibility: public
- This method is defined by CI_Xmlrpc
object CI_Xmlrpc::send_error_message(integer $number, string $message)
Sends an Error Message for Server Request
- Visibility: public
- This method is defined by CI_Xmlrpc
- $number integer
- $message string
object CI_Xmlrpc::send_response(array $response)
Send Response for Server Request
- Visibility: public
- This method is defined by CI_Xmlrpc
- $response array