eZ Publish  [4.2]
eZSOAPResponse Class Reference

eZSOAPResponse handles SOAP response packages More...

+ Inheritance diagram for eZSOAPResponse:
+ Collaboration diagram for eZSOAPResponse:

List of all members.

Public Member Functions

 decodeStream ($request, $stream)
 eZSOAPResponse ($name="", $namespace="")
 faultCode ()
 faultString ()
 isFault ()
 payload ()
 setValue ($value)
 value ()

Static Public Member Functions

static decodeDataTypes ($node, $type="")

Public Attributes

 $DOMDocument = false
 Contains the DOM document for the current SOAP response.
 $FaultCode = false
 Contains the fault code.
 $FaultString = false
 Contains fault string.
 $IsFault = false
 Contains true if the response was an fault.
 $Name
 Contains the name of the response, i.e. function call name.
 $Namespace
 Contains the target namespace for the response.
 $Type = false
 Contains the response type.
 $Value = false
 Contains the response value.

Static Private Member Functions

 stripHTTPHeader ($data)

Detailed Description

eZSOAPResponse handles SOAP response packages

Definition at line 41 of file ezsoapresponse.php.


Member Function Documentation

static eZSOAPResponse::decodeDataTypes ( node,
type = "" 
) [static]

Decodes a DOM node and returns the PHP datatype instance of it.

Definition at line 138 of file ezsoapresponse.php.

Referenced by decodeStream(), and eZSOAPServer\processRequest().

eZSOAPResponse::decodeStream ( request,
stream 
)

Decodes the SOAP response stream

Definition at line 58 of file ezsoapresponse.php.

eZSOAPResponse::eZSOAPResponse ( name = "",
namespace = "" 
)

Constructs a new SOAP response

Definition at line 46 of file ezsoapresponse.php.

eZSOAPResponse::faultCode ( )

Returns the fault code

Definition at line 354 of file ezsoapresponse.php.

eZSOAPResponse::faultString ( )

Returns the fault string

Definition at line 362 of file ezsoapresponse.php.

eZSOAPResponse::isFault ( )

Returns true if the response was a fault

Definition at line 346 of file ezsoapresponse.php.

eZSOAPResponse::payload ( )

Returns the XML payload for the response.

Definition at line 250 of file ezsoapresponse.php.

eZSOAPResponse::setValue ( value)

Sets the value of the response.

Definition at line 338 of file ezsoapresponse.php.

eZSOAPResponse::stripHTTPHeader ( data) [static, private]

Strips the header information from the HTTP raw response.

Definition at line 306 of file ezsoapresponse.php.

Referenced by decodeStream().

eZSOAPResponse::value ( )

Returns the response value.

Definition at line 330 of file ezsoapresponse.php.


Member Data Documentation

eZSOAPResponse::$DOMDocument = false

Contains the DOM document for the current SOAP response.

Definition at line 383 of file ezsoapresponse.php.

eZSOAPResponse::$FaultCode = false

Contains the fault code.

Definition at line 374 of file ezsoapresponse.php.

eZSOAPResponse::$FaultString = false

Contains fault string.

Definition at line 372 of file ezsoapresponse.php.

eZSOAPResponse::$IsFault = false

Contains true if the response was an fault.

Definition at line 376 of file ezsoapresponse.php.

eZSOAPResponse::$Name

Contains the name of the response, i.e. function call name.

Definition at line 378 of file ezsoapresponse.php.

eZSOAPResponse::$Namespace

Contains the target namespace for the response.

Definition at line 380 of file ezsoapresponse.php.

eZSOAPResponse::$Type = false

Contains the response type.

Definition at line 370 of file ezsoapresponse.php.

eZSOAPResponse::$Value = false

Contains the response value.

Definition at line 368 of file ezsoapresponse.php.


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