Open Monograph Press  3.3.0
PhpXmlRpc\PhpXmlRpc Class Reference

Static Public Member Functions

static exportGlobals ()
 
static importGlobals ()
 

Static Public Attributes

static $xmlrpc_defencoding = "UTF-8"
 
static $xmlrpc_detectencodings = array()
 
static $xmlrpc_internalencoding = "UTF-8"
 
static $xmlrpc_null_apache_encoding = false
 
static $xmlrpc_null_apache_encoding_ns = "http://ws.apache.org/xmlrpc/namespaces/extensions"
 
static $xmlrpc_null_extension = false
 
static $xmlrpcerr
 
static $xmlrpcerruser = 800
 
static $xmlrpcerrxml = 100
 
static $xmlrpcName = "XML-RPC for PHP"
 
static $xmlrpcstr
 
static $xmlrpcVersion = "4.0.0.alpha"
 

Detailed Description

Definition at line 5 of file PhpXmlRpc.php.

Member Function Documentation

◆ exportGlobals()

static PhpXmlRpc\PhpXmlRpc::exportGlobals ( )
static

A function to be used for compatibility with legacy code: it creates all global variables which used to be declared, such as library version etc...

Definition at line 98 of file PhpXmlRpc.php.

References $GLOBALS, and PhpXmlRpc\Helper\Charset\instance().

◆ importGlobals()

static PhpXmlRpc\PhpXmlRpc::importGlobals ( )
static

A function to be used for compatibility with legacy code: it gets the values of all global variables which used to be declared, such as library version etc... and sets them to php classes. It should be used by code which changed the values of those global variables to alter the working of the library. Example code:

  1. include xmlrpc.inc
  2. set the values, e.g. $GLOBALS['xmlrpc_internalencoding'] = 'UTF-8';
  3. import them: PhpXmlRpc\PhpXmlRpc::importGlobals();
  4. run your own code.

Definition at line 136 of file PhpXmlRpc.php.

References $GLOBALS.

Field Documentation

◆ $xmlrpc_defencoding

PhpXmlRpc\PhpXmlRpc::$xmlrpc_defencoding = "UTF-8"
static

Definition at line 64 of file PhpXmlRpc.php.

Referenced by PhpXmlRpc\Helper\XMLParser\guessEncoding().

◆ $xmlrpc_detectencodings

PhpXmlRpc\PhpXmlRpc::$xmlrpc_detectencodings = array()
static

Definition at line 70 of file PhpXmlRpc.php.

Referenced by PhpXmlRpc\Helper\XMLParser\guessEncoding().

◆ $xmlrpc_internalencoding

PhpXmlRpc\PhpXmlRpc::$xmlrpc_internalencoding = "UTF-8"
static

Definition at line 76 of file PhpXmlRpc.php.

Referenced by PhpXmlRpc\Helper\Charset\encodeEntities().

◆ $xmlrpc_null_apache_encoding

PhpXmlRpc\PhpXmlRpc::$xmlrpc_null_apache_encoding = false
static

Definition at line 90 of file PhpXmlRpc.php.

◆ $xmlrpc_null_apache_encoding_ns

PhpXmlRpc\PhpXmlRpc::$xmlrpc_null_apache_encoding_ns = "http://ws.apache.org/xmlrpc/namespaces/extensions"
static

Definition at line 92 of file PhpXmlRpc.php.

◆ $xmlrpc_null_extension

PhpXmlRpc\PhpXmlRpc::$xmlrpc_null_extension = false
static

◆ $xmlrpcerr

PhpXmlRpc\PhpXmlRpc::$xmlrpcerr
static
Initial value:
= array(
'unknown_method' => 1,
'invalid_return' => 2,
'incorrect_params' => 3,
'introspect_unknown' => 4,
'http_error' => 5,
'no_data' => 6,
'no_ssl' => 7,
'curl_fail' => 8,
'invalid_request' => 15,
'no_curl' => 16,
'server_error' => 17,
'multicall_error' => 18,
'multicall_notstruct' => 9,
'multicall_nomethod' => 10,
'multicall_notstring' => 11,
'multicall_recursion' => 12,
'multicall_noparams' => 13,
'multicall_notarray' => 14,
'cannot_decompress' => 103,
'decompress_fail' => 104,
'dechunk_fail' => 105,
'server_cannot_decompress' => 106,
'server_decompress_fail' => 107,
)

Definition at line 7 of file PhpXmlRpc.php.

Referenced by PhpXmlRpc\Helper\Http\parseResponseHeaders().

◆ $xmlrpcerruser

PhpXmlRpc\PhpXmlRpc::$xmlrpcerruser = 800
static

Definition at line 82 of file PhpXmlRpc.php.

◆ $xmlrpcerrxml

PhpXmlRpc\PhpXmlRpc::$xmlrpcerrxml = 100
static

Definition at line 84 of file PhpXmlRpc.php.

◆ $xmlrpcName

PhpXmlRpc\PhpXmlRpc::$xmlrpcName = "XML-RPC for PHP"
static

Definition at line 78 of file PhpXmlRpc.php.

◆ $xmlrpcstr

PhpXmlRpc\PhpXmlRpc::$xmlrpcstr
static
Initial value:
= array(
'unknown_method' => 'Unknown method',
'invalid_return' => 'Invalid return payload: enable debugging to examine incoming payload',
'incorrect_params' => 'Incorrect parameters passed to method',
'introspect_unknown' => "Can't introspect: method unknown",
'http_error' => "Didn't receive 200 OK from remote server.",
'no_data' => 'No data received from server.',
'no_ssl' => 'No SSL support compiled in.',
'curl_fail' => 'CURL error',
'invalid_request' => 'Invalid request payload',
'no_curl' => 'No CURL support compiled in.',
'server_error' => 'Internal server error',
'multicall_error' => 'Received from server invalid multicall response',
'multicall_notstruct' => 'system.multicall expected struct',
'multicall_nomethod' => 'missing methodName',
'multicall_notstring' => 'methodName is not a string',
'multicall_recursion' => 'recursive system.multicall forbidden',
'multicall_noparams' => 'missing params',
'multicall_notarray' => 'params is not an array',
'cannot_decompress' => 'Received from server compressed HTTP and cannot decompress',
'decompress_fail' => 'Received from server invalid compressed HTTP',
'dechunk_fail' => 'Received from server invalid chunked HTTP',
'server_cannot_decompress' => 'Received from client compressed HTTP request and cannot decompress',
'server_decompress_fail' => 'Received from client invalid compressed HTTP request',
)

Definition at line 34 of file PhpXmlRpc.php.

Referenced by PhpXmlRpc\Helper\Http\parseResponseHeaders().

◆ $xmlrpcVersion

PhpXmlRpc\PhpXmlRpc::$xmlrpcVersion = "4.0.0.alpha"
static

Definition at line 79 of file PhpXmlRpc.php.


The documentation for this class was generated from the following file: