PHP Class XML_RPC_Message, TastyIgniter

Author: Edd Dumbill ([email protected])
Author: Stig Bakken ([email protected])
Author: Martin Jansen ([email protected])
Author: Daniel Convissor ([email protected])
Inheritance: extends XML_RPC_Base
ファイルを表示 Open project: tastyigniter/tastyigniter Class Usage Examples

Public Properties

Property Type Description
$method_name string Method name
$params array Parameter list
$payload string Payload
$xh array XH?

Public Methods

Method Description
__construct ( string $method, array $pars = FALSE ) : void Constructor
addParam ( $par ) : void Add parameter
character_data ( $the_parser, $data ) : void Parse character data
closing_tag ( $the_parser, $name ) : void End Element Handler
createPayload ( ) : void Create Payload to Send
decode_message ( $param ) : mixed Decode message
open_tag ( $the_parser, $name ) : void Start Element Handler
output_parameters ( array $array = [] ) : array Output parameters
parseResponse ( $fp ) : object Parse External XML-RPC Server's Response

Method Details

__construct() public method

Constructor
public __construct ( string $method, array $pars = FALSE ) : void
$method string
$pars array
return void

addParam() public method

Add parameter
public addParam ( $par ) : void
return void

character_data() public method

Parse character data
public character_data ( $the_parser, $data ) : void
return void

closing_tag() public method

End Element Handler
public closing_tag ( $the_parser, $name ) : void
return void

createPayload() public method

Create Payload to Send
public createPayload ( ) : void
return void

decode_message() public method

Decode message
public decode_message ( $param ) : mixed
return mixed

open_tag() public method

Start Element Handler
public open_tag ( $the_parser, $name ) : void
return void

output_parameters() public method

Output parameters
public output_parameters ( array $array = [] ) : array
$array array
return array

parseResponse() public method

Parse External XML-RPC Server's Response
public parseResponse ( $fp ) : object
return object

Property Details

$method_name public_oe property

Method name
public string $method_name
return string

$params public_oe property

Parameter list
public array $params
return array

$payload public_oe property

Payload
public string $payload
return string

$xh public_oe property

XH?
public array $xh
return array