API Documentation

Amf/Response/Http.php

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.

category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Amf  
subpackage
Response  
version
$Id: Http.php 24482 2011-09-29 14:19:21Z matthew $  

\Zend_Amf_Response_Http

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

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

Methods

methodpublic__toString( ) : string

Return the output stream content

Inherited from: \Zend_Amf_Response::__toString()
Returns
Type Description
string
methodpublicaddAmfBody( \Zend_Amf_Value_MessageBody $body ) : \Zend_Amf_Response

Add an AMF body to be sent to the Flash Player

Inherited from: \Zend_Amf_Response::addAmfBody()
Parameters
Name Type Description
$body \Zend_Amf_Value_MessageBody
Returns
Type Description
\Zend_Amf_Response
methodpublicaddAmfHeader( \Zend_Amf_Value_MessageHeader $header ) : \Zend_Amf_Response

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

Inherited from: \Zend_Amf_Response::addAmfHeader()
Parameters
Name Type Description
$header \Zend_Amf_Value_MessageHeader
Returns
Type Description
\Zend_Amf_Response
methodpublicfinalize( ) : \Zend_Amf_Response

Instantiate new output stream and start serialization

Inherited from: \Zend_Amf_Response::finalize()
Returns
Type Description
\Zend_Amf_Response
methodpublicgetAmfBodies( ) : array

Return an array of AMF bodies to be serialized

Inherited from: \Zend_Amf_Response::getAmfBodies()
Returns
Type Description
array
methodpublicgetAmfHeaders( ) : array

Retrieve attached AMF message headers

Inherited from: \Zend_Amf_Response::getAmfHeaders()
Returns
Type Description
array Array of Zend_Amf_Value_MessageHeader objects
methodpublicgetResponse( ) : string

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

Returns
Type Description
string
methodprotectedisIeOverSsl( ) : void

methodpublicsetObjectEncoding( int $encoding ) : \Zend_Amf_Response

Set the AMF encoding that will be used for serialization

Inherited from: \Zend_Amf_Response::setObjectEncoding()
Parameters
Name Type Description
$encoding int
Returns
Type Description
\Zend_Amf_Response
methodpublicwriteMessage( \Zend_Amf_Parse_OutputStream $stream ) : \Zend_Amf_Response

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

Inherited from: \Zend_Amf_Response::writeMessage()
Parameters
Name Type Description
$stream \Zend_Amf_Parse_OutputStream
Returns
Type Description
\Zend_Amf_Response
Documentation was generated by DocBlox 0.13.3.