Amf/Response/Http.php

Show: PublicProtectedPrivateinherited
Table of Contents
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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Amf  
Subpackage
Response  
Version
$Id: Http.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_Amf_Response_Http

Package: Zend\Amf\Response
Creates the proper http headers and send the serialized AMF stream to standard out.
Parent(s)
\Zend_Amf_Response
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotectedarray $_bodies = array()
inherited
Array of Zend_Amf_Value_MessageBody objects
Inherited from: \Zend_Amf_Response::$$_bodies
Default valuearray()Details
Type
array
Inherited_from
\Zend_Amf_Response::$$_bodies  
>VPropertyprotectedarray $_headers = array()
inherited
Array of Zend_Amf_Value_MessageHeader objects
Inherited from: \Zend_Amf_Response::$$_headers
Default valuearray()Details
Type
array
Inherited_from
\Zend_Amf_Response::$$_headers  
>VPropertyprotectedint $_objectEncoding = 0
inherited

Object encoding for response

Inherited from: \Zend_Amf_Response::$$_objectEncoding
Default value0Details
Type
int
Inherited_from
\Zend_Amf_Response::$$_objectEncoding  
>VPropertyprotected\Zend_Amf_Parse_OutputStream $_outputStream
inherited
Inherited from: \Zend_Amf_Response::$$_outputStream

Methods

methodpublic__toString() : string
inherited

Return the output stream content

Inherited from: \Zend_Amf_Response::__toString()
Returns
TypeDescription
string
methodpublicaddAmfBody(\Zend_Amf_Value_MessageBody $body) : \Zend_Amf_Response
inherited

Add an AMF body to be sent to the Flash Player

Inherited from: \Zend_Amf_Response::addAmfBody()
Parameters
NameTypeDescription
$body\Zend_Amf_Value_MessageBody
Returns
TypeDescription
\Zend_Amf_Response
methodpublicaddAmfHeader(\Zend_Amf_Value_MessageHeader $header) : \Zend_Amf_Response
inherited

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

Inherited from: \Zend_Amf_Response::addAmfHeader()
Parameters
NameTypeDescription
$header\Zend_Amf_Value_MessageHeader
Returns
TypeDescription
\Zend_Amf_Response
methodpublicfinalize() : \Zend_Amf_Response
inherited

Instantiate new output stream and start serialization

Inherited from: \Zend_Amf_Response::finalize()
Returns
TypeDescription
\Zend_Amf_Response
methodpublicgetAmfBodies() : array
inherited

Return an array of AMF bodies to be serialized

Inherited from: \Zend_Amf_Response::getAmfBodies()
Returns
TypeDescription
array
methodpublicgetAmfHeaders() : array
inherited

Retrieve attached AMF message headers

Inherited from: \Zend_Amf_Response::getAmfHeaders()
Returns
TypeDescription
arrayArray of Zend_Amf_Value_MessageHeader objects
methodpublicgetResponse() : string

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

Returns
TypeDescription
string
methodprotectedisIeOverSsl() : void

methodpublicsetObjectEncoding(int $encoding) : \Zend_Amf_Response
inherited

Set the AMF encoding that will be used for serialization

Inherited from: \Zend_Amf_Response::setObjectEncoding()
Parameters
NameTypeDescription
$encodingint
Returns
TypeDescription
\Zend_Amf_Response
methodpublicwriteMessage(\Zend_Amf_Parse_OutputStream $stream) : \Zend_Amf_Response
inherited

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

Inherited from: \Zend_Amf_Response::writeMessage()
Parameters
NameTypeDescription
$stream\Zend_Amf_Parse_OutputStream
Returns
TypeDescription
\Zend_Amf_Response
Documentation was generated by phpDocumentor 2.0.0a12.