Creates the proper http headers and send the serialized AMF stream to standard out.

package Zend_Amf
subpackage Response
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
inherited_from \Zend_Amf_Response

 Methods

Return the output stream content

__toString() : string
Inherited

Returns

string

Add an AMF body to be sent to the Flash Player

addAmfBody(\Zend_Amf_Value_MessageBody $body) : \Zend_Amf_Response
Inherited

Parameters

$body

\Zend_Amf_Value_MessageBody

Returns

\Zend_Amf_Response

Add an AMF Header to be sent back to the flash player

addAmfHeader(\Zend_Amf_Value_MessageHeader $header) : \Zend_Amf_Response
Inherited

Parameters

$header

\Zend_Amf_Value_MessageHeader

Returns

\Zend_Amf_Response

Instantiate new output stream and start serialization

finalize() : \Zend_Amf_Response
Inherited

Returns

\Zend_Amf_Response

Return an array of AMF bodies to be serialized

getAmfBodies() : array
Inherited

Returns

array

Retrieve attached AMF message headers

getAmfHeaders() : array
Inherited

Returns

arrayArray of Zend_Amf_Value_MessageHeader objects

Create the application response header for AMF and sends the serialized AMF string

getResponse() : string
inherited_from \Zend_Amf_Response::getResponse()

Returns

string

Return the output stream content

getResponse() : string
Inherited

Returns

stringThe contents of the output stream

Set the AMF encoding that will be used for serialization

setObjectEncoding(integer $encoding) : \Zend_Amf_Response
Inherited

Parameters

$encoding

integer

Returns

\Zend_Amf_Response

Serialize the PHP data types back into Actionscript and create and AMF stream.

writeMessage(\Zend_Amf_Parse_OutputStream $stream) : \Zend_Amf_Response
Inherited

Parameters

$stream

\Zend_Amf_Parse_OutputStream

Returns

\Zend_Amf_Response

isIeOverSsl()

isIeOverSsl() 

 Properties

 

Array of Zend_Amf_Value_MessageBody objects

$_bodies : array

Default

array()
 

Array of Zend_Amf_Value_MessageHeader objects

$_headers : array

Default

array()
 

Object encoding for response

$_objectEncoding : integer

Default

0
 

$_outputStream

$_outputStream : \Zend_Amf_Parse_OutputStream

Default