PHP Class CI_Xmlrpc, TastyIgniter

显示文件 Open project: tastyigniter/tastyigniter Class Usage Examples

Public Properties

Property Type Description
$client object XML-RPC Client object
$data array XML-RPC Data
$debug boolean Debug flag
$error string Request error message
$message string XML-RPC Message
$method string XML-RPC Method name
$response array XML-RPC Reponse
$result object XML-RPC result object
$valid_parents array Valid parents list
$xmlrpcArray string Array data type
$xmlrpcBase64 string Base64 data type
$xmlrpcBoolean string Boolean data type
$xmlrpcDateTime string DateTime format
$xmlrpcDouble string Double data type
$xmlrpcI4 string I4 data type
$xmlrpcInt string Integer data type
$xmlrpcName string XML-RPC client name
$xmlrpcString string String data type
$xmlrpcStruct string Struct data type
$xmlrpcTypes array Data types list
$xmlrpcVersion string XML-RPC version
$xmlrpc_backslash string Backslash replacement value
$xmlrpc_defencoding string Encoding charset
$xmlrpcerr array Response error numbers list
$xmlrpcerruser integer Start of user errors
$xmlrpcerrxml integer Start of XML parse errors
$xmlrpcstr string[] Response error messages list
$xss_clean boolean XSS Filter flag

Public Methods

Method Description
__construct ( array $config = [] ) : void Constructor
display_error ( ) : string Returns Error
display_response ( ) : string Returns Remote Server Response
initialize ( array $config = [] ) : void Initialize
method ( string $function ) : void Set Methods
request ( array $incoming ) : void Take Array of Data and Create Objects
send_error_message ( integer $number, string $message ) : object Sends an Error Message for Server Request
send_request ( ) : boolean Sends XML-RPC Request
send_response ( array $response ) : object Send Response for Server Request
server ( string $url, integer $port = 80, string $proxy = FALSE, integer $proxy_port = 8080 ) : void Parse server URL
set_debug ( boolean $flag = TRUE ) : void Set Debug
timeout ( integer $seconds = 5 ) : void Set Timeout
values_parsing ( mixed $value ) : object Values Parsing

Method Details

__construct() public method

Initializes property default values
public __construct ( array $config = [] ) : void
$config array
return void

display_error() public method

Returns Error
public display_error ( ) : string
return string

display_response() public method

Returns Remote Server Response
public display_response ( ) : string
return string

initialize() public method

Initialize
public initialize ( array $config = [] ) : void
$config array
return void

method() public method

Set Methods
public method ( string $function ) : void
$function string Method name
return void

request() public method

Take Array of Data and Create Objects
public request ( array $incoming ) : void
$incoming array
return void

send_error_message() public method

Sends an Error Message for Server Request
public send_error_message ( integer $number, string $message ) : object
$number integer
$message string
return object

send_request() public method

Sends XML-RPC Request
public send_request ( ) : boolean
return boolean

send_response() public method

Send Response for Server Request
public send_response ( array $response ) : object
$response array
return object

server() public method

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

set_debug() public method

Set Debug
public set_debug ( boolean $flag = TRUE ) : void
$flag boolean
return void

timeout() public method

Set Timeout
public timeout ( integer $seconds = 5 ) : void
$seconds integer
return void

values_parsing() public method

Values Parsing
public values_parsing ( mixed $value ) : object
$value mixed
return object

Property Details

$client public_oe property

XML-RPC Client object
public object $client
return object

$data public_oe property

XML-RPC Data
public array $data
return array

$debug public_oe property

Debug flag
public bool $debug
return boolean

$error public_oe property

Request error message
public string $error
return string

$message public_oe property

XML-RPC Message
public string $message
return string

$method public_oe property

XML-RPC Method name
public string $method
return string

$response public_oe property

XML-RPC Reponse
public array $response
return array

$result public_oe property

XML-RPC result object
public object $result
return object

$valid_parents public_oe property

Valid parents list
public array $valid_parents
return array

$xmlrpcArray public_oe property

Array data type
public string $xmlrpcArray
return string

$xmlrpcBase64 public_oe property

Base64 data type
public string $xmlrpcBase64
return string

$xmlrpcBoolean public_oe property

Boolean data type
public string $xmlrpcBoolean
return string

$xmlrpcDateTime public_oe property

DateTime format
public string $xmlrpcDateTime
return string

$xmlrpcDouble public_oe property

Double data type
public string $xmlrpcDouble
return string

$xmlrpcI4 public_oe property

I4 data type
public string $xmlrpcI4
return string

$xmlrpcInt public_oe property

Integer data type
public string $xmlrpcInt
return string

$xmlrpcName public_oe property

XML-RPC client name
public string $xmlrpcName
return string

$xmlrpcString public_oe property

String data type
public string $xmlrpcString
return string

$xmlrpcStruct public_oe property

Struct data type
public string $xmlrpcStruct
return string

$xmlrpcTypes public_oe property

Data types list
public array $xmlrpcTypes
return array

$xmlrpcVersion public_oe property

XML-RPC version
public string $xmlrpcVersion
return string

$xmlrpc_backslash public_oe property

Backslash replacement value
public string $xmlrpc_backslash
return string

$xmlrpc_defencoding public_oe property

Encoding charset
public string $xmlrpc_defencoding
return string

$xmlrpcerr public_oe property

Response error numbers list
public array $xmlrpcerr
return array

$xmlrpcerruser public_oe property

Start of user errors
public int $xmlrpcerruser
return integer

$xmlrpcerrxml public_oe property

Start of XML parse errors
public int $xmlrpcerrxml
return integer

$xmlrpcstr public_oe property

Response error messages list
public string[] $xmlrpcstr
return string[]

$xss_clean public_oe property

XSS Filter flag
public bool $xss_clean
return boolean