Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Handles converting the PHP object ready for response back into AMF
array $_bodies = 'array'
Array of Zend_Amf_Value_MessageBody objects
array $_headers = 'array'
Array of Zend_Amf_Value_MessageHeader objects
int $_objectEncoding = '0'
Zend_Amf_Parse_OutputStream $_outputStream = ''
__toString(
)
:
string
Return the output stream content
addAmfBody(
Zend_Amf_Value_MessageBody $body
)
:
Zend_Amf_Response
Add an AMF body to be sent to the Flash Player
addAmfHeader(
Zend_Amf_Value_MessageHeader $header
)
:
Zend_Amf_Response
Add an AMF Header to be sent back to the flash player
finalize(
)
:
Zend_Amf_Response
Instantiate new output stream and start serialization
getAmfBodies(
)
:
array
Return an array of AMF bodies to be serialized
getAmfHeaders(
)
:
array
Retrieve attached AMF message headers
getResponse(
)
:
string
Return the output stream content
setObjectEncoding(
int $encoding
)
:
Zend_Amf_Response
Set the AMF encoding that will be used for serialization
writeMessage(
Zend_Amf_Parse_OutputStream $stream
)
:
Zend_Amf_Response
Serialize the PHP data types back into Actionscript and create and AMF stream.