Moodle  2.2.1
http://www.collinsharper.com
Zend_Amf_Response Class Reference
Inheritance diagram for Zend_Amf_Response:

Public Member Functions

 finalize ()
 writeMessage (Zend_Amf_Parse_OutputStream $stream)
 getResponse ()
 __toString ()
 addAmfBody (Zend_Amf_Value_MessageBody $body)
 getAmfBodies ()
 addAmfHeader (Zend_Amf_Value_MessageHeader $header)
 getAmfHeaders ()
 setObjectEncoding ($encoding)

Protected Attributes

 $_objectEncoding = 0
 $_bodies = array()
 $_headers = array()
 $_outputStream

Detailed Description

Definition at line 38 of file Response.php.


Member Function Documentation

Return the output stream content

Returns:
string

Definition at line 145 of file Response.php.

Here is the call graph for this function:

Add an AMF body to be sent to the Flash Player

Parameters:
Zend_Amf_Value_MessageBody$body
Returns:
Zend_Amf_Response

Definition at line 156 of file Response.php.

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

Parameters:
Zend_Amf_Value_MessageHeader$header
Returns:
Zend_Amf_Response

Definition at line 178 of file Response.php.

finalize ( )

Instantiate new output stream and start serialization

Returns:
Zend_Amf_Response

Definition at line 67 of file Response.php.

Here is the call graph for this function:

Return an array of AMF bodies to be serialized

Returns:
array

Definition at line 167 of file Response.php.

Retrieve attached AMF message headers

Returns:
array Array of Zend_Amf_Value_MessageHeader objects

Definition at line 189 of file Response.php.

Here is the caller graph for this function:

Return the output stream content

Returns:
string The contents of the output stream

Reimplemented in Zend_Amf_Response_Http.

Definition at line 135 of file Response.php.

Here is the caller graph for this function:

setObjectEncoding ( encoding)

Set the AMF encoding that will be used for serialization

Parameters:
int$encoding
Returns:
Zend_Amf_Response

Definition at line 200 of file Response.php.

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

Parameters:
Zend_Amf_Parse_OutputStream$stream
Returns:
Zend_Amf_Response

Definition at line 81 of file Response.php.

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

$_bodies = array() [protected]

Definition at line 49 of file Response.php.

$_headers = array() [protected]

Definition at line 55 of file Response.php.

$_objectEncoding = 0 [protected]

Definition at line 43 of file Response.php.

$_outputStream [protected]

Definition at line 60 of file Response.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations