PHP Class Gpf_Rpc_Request

Inheritance: extends Gpf_Object, implements Gpf_Rpc_Serializable
Show file Open project: fubralimited/php-oara Class Usage Examples

Protected Properties

Property Type Description
$apiSessionObject
$className
$methodName
$params Gpf_Rpc_Params
$response

Public Methods

Method Description
__construct ( $className, $methodName, Gpf_Api_Session $apiSessionObject = null )
addParam ( $name, $value )
getResponseError ( )
getResponseObject ( )
getStdResponse ( ) : stdClass
send ( )
sendNow ( )
setAccountId ( $accountId )
setMaxTimeout ( $timeout )
setParams ( Gpf_Rpc_Params $params )
setResponse ( $response )
setResponseError ( $message )
setUrl ( $url )
toObject ( )
toText ( )
useNewStyleRequestsEncoding ( $useNewStyle )

Private Methods

Method Description
getMultiRequest ( ) : Gpf_Rpc_MultiRequest
setRequiredParams ( $className, $methodName )

Method Details

__construct() public method

public __construct ( $className, $methodName, Gpf_Api_Session $apiSessionObject = null )
$apiSessionObject Gpf_Api_Session

addParam() public method

public addParam ( $name, $value )

getResponseError() public method

public getResponseError ( )

getResponseObject() final public method

final public getResponseObject ( )

getStdResponse() final public method

final public getStdResponse ( ) : stdClass
return stdClass

send() public method

public send ( )

sendNow() public method

public sendNow ( )

setAccountId() public method

public setAccountId ( $accountId )

setMaxTimeout() public method

public setMaxTimeout ( $timeout )

setParams() public method

public setParams ( Gpf_Rpc_Params $params )
$params Gpf_Rpc_Params

setResponse() public method

public setResponse ( $response )

setResponseError() public method

public setResponseError ( $message )

setUrl() public method

public setUrl ( $url )

toObject() public method

public toObject ( )

toText() public method

public toText ( )

useNewStyleRequestsEncoding() public method

public useNewStyleRequestsEncoding ( $useNewStyle )

Property Details

$apiSessionObject protected property

protected $apiSessionObject

$className protected property

protected $className

$methodName protected property

protected $methodName

$params protected property

protected Gpf_Rpc_Params $params
return Gpf_Rpc_Params

$response protected property

protected $response