XRL  latest
Simple XML-RPC Library (both client and server)
fpoirotte\XRL\Request Class Reference

A class that represents an XML-RPC request. More...

+ Inheritance diagram for fpoirotte\XRL\Request:

Public Member Functions

 __construct ($procedure, array $params)
 
 getParams ()
 
 getProcedure ()
 

Protected Attributes

 $params
 Parameters to pass to the remote procedure.
 
 $procedure
 Name of the remote procedure to call.
 

Detailed Description

A class that represents an XML-RPC request.

Authors
François Poirotte click.nosp@m.y@er.nosp@m.ebot..nosp@m.net

Definition at line 20 of file Request.php.

Constructor & Destructor Documentation

fpoirotte\XRL\Request::__construct (   $procedure,
array  $params 
)

Creates a new XML-RPC request.

Parameters
string$procedureName of the remote procedure to call.
array$paramsParameters to pass to the remote procedure.
Exceptions
InvalidArgumentExceptionAn invalid procedure name was given.

Definition at line 40 of file Request.php.

References fpoirotte\XRL\Request\$params, and fpoirotte\XRL\Request\$procedure.

Member Function Documentation

fpoirotte\XRL\Request::getParams ( )

Return the parameters that will be passed to that request's procedure.

Return values
arrayParameters for the XML-RPC procedure, using native PHP types.

Implements fpoirotte\XRL\RequestInterface.

Definition at line 57 of file Request.php.

References fpoirotte\XRL\Request\$params.

fpoirotte\XRL\Request::getProcedure ( )

Return the name of the procedure this request refers to.

Return values
stringName of the XML-RPC procedure this request refers to.

Implements fpoirotte\XRL\RequestInterface.

Definition at line 51 of file Request.php.

References fpoirotte\XRL\Request\$procedure.


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