eZSOAPResponse Class Reference
[SOAP communication library]

eZSOAPResponse handles SOAP response packages More...

Inheritance diagram for eZSOAPResponse:

eZSOAPEnvelope List of all members.

Public Methods

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

Public Attributes

 Value = false
 Contains the response value.

 Type = false
 Contains the response type.

 FaultString = false
 Contains fault string.

 FaultCode = false
 Contains the fault code.

 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.

 DOMDocument = false
 Contains the DOM document for the current SOAP response.


Private Methods

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

Static Private Methods

stripHTTPHeader ($data)

Detailed Description

eZSOAPResponse handles SOAP response packages

Definition at line ezsoapresponse.php.


Constructor & Destructor Documentation

eZSOAPResponse::eZSOAPResponse   name = "",
  namespace = ""
 

Constructs a new SOAP response

Definition at line ezsoapresponse.php.

References Namespace.


Member Function Documentation

& eZSOAPResponse::decodeDataTypes &$    node,
  type = ""
[private]
 

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

Definition at line ezsoapresponse.php.

References eZDebug::writeError().

Referenced by decodeStream().

eZSOAPResponse::decodeStream   request,
  stream
 

Decodes the SOAP response stream

Definition at line ezsoapresponse.php.

References eZDebug::writeError().

& eZSOAPResponse::encodeValue   name,
  value
 

Encodes a PHP variable into a SOAP datatype.

Definition at line ezsoapresponse.php.

References value().

Referenced by payload().

eZSOAPResponse::faultCode  
 

Returns the fault code

Definition at line ezsoapresponse.php.

References FaultCode.

eZSOAPResponse::faultString  
 

Returns the fault string

Definition at line ezsoapresponse.php.

References FaultString.

eZSOAPResponse::isFault  
 

Returns true if the response was a fault

Definition at line ezsoapresponse.php.

References IsFault.

& eZSOAPResponse::payload  
 

Returns the XML payload for the response.

Definition at line ezsoapresponse.php.

References value().

eZSOAPResponse::setValue   value
 

Sets the value of the response.

Definition at line ezsoapresponse.php.

References value().

& eZSOAPResponse::stripHTTPHeader   data [static, private]
 

Strips the header information from the HTTP raw response.

Definition at line ezsoapresponse.php.

References eZDebug::writeWarning().

Referenced by decodeStream().

& eZSOAPResponse::value  
 

Returns the response value.

Definition at line ezsoapresponse.php.

References Value.

Referenced by setValue().


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

Exponential