Zend Framework  3.0
Public Member Functions | List of all members
Http Class Reference

HTTP response. More...

Public Member Functions

 __toString ()
 Override __toString() to send HTTP Content-Type header.
 
- Public Member Functions inherited from Response
 __construct ($return=null, $type=null)
 Constructor.
 
 setEncoding ($encoding)
 Set encoding to use in response.
 
 getEncoding ()
 Retrieve current response encoding.
 
 setReturnValue ($value, $type=null)
 Set the return value.
 
 getReturnValue ()
 Retrieve the return value.
 
 isFault ()
 Is the response a fault response?
 
 getFault ()
 Returns the fault, if any.
 
 loadXml ($response)
 Load a response from an XML response.
 
 saveXml ()
 Return response as XML.
 
 __toString ()
 Return XML response.
 

Additional Inherited Members

- Protected Member Functions inherited from Response
 getXmlRpcReturn ()
 Retrieve the XMLRPC value for the return value.
 
- Protected Attributes inherited from Response
 $return
 
 $type
 
 $encoding = 'UTF-8'
 
 $fault = null
 

Detailed Description

HTTP response.

Member Function Documentation

__toString ( )

Override __toString() to send HTTP Content-Type header.

Returns
string