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

Public Member Functions

 initialize ($request)
 readMessage (Zend_Amf_Parse_InputStream $stream)
 readHeader ()
 readBody ()
 getAmfBodies ()
 addAmfBody (Zend_Amf_Value_MessageBody $message)
 getAmfHeaders ()
 getObjectEncoding ()
 setObjectEncoding ($int)

Protected Attributes

 $_clientType = 0
 $_bodies = array()
 $_headers = array()
 $_objectEncoding = 0
 $_inputStream
 $_deserializer
 $_time

Detailed Description

Definition at line 46 of file Request.php.


Member Function Documentation

Accessor to private array of message bodies.

Parameters:
Zend_Amf_Value_MessageBody$message
Returns:
Zend_Amf_Request

Definition at line 214 of file Request.php.

Return an array of the body objects that were found in the amf request.

Returns:
array {target, response, length, content}

Definition at line 203 of file Request.php.

Here is the caller graph for this function:

Return an array of headers that were found in the amf request.

Returns:
array {operation, mustUnderstand, length, param}

Definition at line 225 of file Request.php.

Here is the caller graph for this function:

Return the either 0 or 3 for respect AMF version

Returns:
int

Definition at line 235 of file Request.php.

Here is the caller graph for this function:

initialize ( request)

Prepare the AMF InputStream for parsing.

Parameters:
string$request
Returns:
Zend_Amf_Request

Definition at line 90 of file Request.php.

Here is the call graph for this function:

Here is the caller graph for this function:

readBody ( )

Deserialize a message body from the input stream

Returns:
Zend_Amf_Value_MessageBody

Definition at line 166 of file Request.php.

Here is the caller graph for this function:

Deserialize a message header from the input stream.

A message header is structured as:

  • NAME String
  • MUST UNDERSTAND Boolean
  • LENGTH Int
  • DATA Object
Returns:
Zend_Amf_Value_MessageHeader

Definition at line 144 of file Request.php.

Here is the caller graph for this function:

Takes the raw AMF input stream and converts it into valid PHP objects

Parameters:
Zend_Amf_Parse_InputStream
Returns:
Zend_Amf_Request

Definition at line 104 of file Request.php.

Here is the call graph for this function:

Here is the caller graph for this function:

setObjectEncoding ( int)

Set the object response encoding

Parameters:
mixed$int
Returns:
Zend_Amf_Request

Definition at line 246 of file Request.php.


Field Documentation

$_bodies = array() [protected]

Definition at line 56 of file Request.php.

$_clientType = 0 [protected]

Definition at line 51 of file Request.php.

$_deserializer [protected]

Definition at line 76 of file Request.php.

$_headers = array() [protected]

Definition at line 61 of file Request.php.

$_inputStream [protected]

Definition at line 71 of file Request.php.

$_objectEncoding = 0 [protected]

Definition at line 66 of file Request.php.

$_time [protected]

Definition at line 82 of file Request.php.


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