[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Amf/ -> Request.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id$
File Size: 251 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Amf_Request:: (9 methods):
  initialize()
  readMessage()
  readHeader()
  readBody()
  getAmfBodies()
  addAmfBody()
  getAmfHeaders()
  getObjectEncoding()
  setObjectEncoding()


Class: Zend_Amf_Request  - X-Ref

Handle the incoming AMF request by deserializing the data to php object
types and storing the data for Zend_Amf_Server to handle for processing.

initialize($request)   X-Ref
Prepare the AMF InputStream for parsing.

param: string $request
return: Zend_Amf_Request

readMessage(Zend_Amf_Parse_InputStream $stream)   X-Ref
Takes the raw AMF input stream and converts it into valid PHP objects

param: Zend_Amf_Parse_InputStream
return: Zend_Amf_Request

readHeader()   X-Ref
Deserialize a message header from the input stream.

A message header is structured as:
- NAME String
- MUST UNDERSTAND Boolean
- LENGTH Int
- DATA Object

return: Zend_Amf_Value_MessageHeader

readBody()   X-Ref
Deserialize a message body from the input stream

return: Zend_Amf_Value_MessageBody

getAmfBodies()   X-Ref
Return an array of the body objects that were found in the amf request.

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

addAmfBody(Zend_Amf_Value_MessageBody $message)   X-Ref
Accessor to private array of message bodies.

param: Zend_Amf_Value_MessageBody $message
return: Zend_Amf_Request

getAmfHeaders()   X-Ref
Return an array of headers that were found in the amf request.

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

getObjectEncoding()   X-Ref
Return the either 0 or 3 for respect AMF version

return: int

setObjectEncoding($int)   X-Ref
Set the object response encoding

param: mixed $int
return: Zend_Amf_Request



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1