[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Amf/Parse/Amf0/ -> Deserializer.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: 306 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Amf_Parse_Amf0_Deserializer:: (10 methods):
  readTypeMarker()
  readObject()
  readReference()
  readMixedArray()
  readArray()
  readDate()
  readXmlString()
  readTypedObject()
  readAmf3TypeMarker()
  getObjectEncoding()


Class: Zend_Amf_Parse_Amf0_Deserializer  - X-Ref

Read an AMF0 input stream and convert it into PHP data types

readTypeMarker($typeMarker = null)   X-Ref
Read AMF markers and dispatch for deserialization

Checks for AMF marker types and calls the appropriate methods
for deserializing those marker types. Markers are the data type of
the following value.

param: integer $typeMarker
return: mixed whatever the data type is of the marker in php

readObject($object = null)   X-Ref
Read AMF objects and convert to PHP objects

Read the name value pair objects form the php message and convert them to
a php object class.

Called when the marker type is 3.

param: array|null $object
return: object

readReference()   X-Ref
Read reference objects

Used to gain access to the private array of reference objects.
Called when marker type is 7.

return: object

readMixedArray()   X-Ref
Reads an array with numeric and string indexes.

Called when marker type is 8

return: array

readArray()   X-Ref
Converts numerically indexed actiosncript arrays into php arrays.

Called when marker type is 10

return: array

readDate()   X-Ref
Convert AS Date to Zend_Date

return: Zend_Date

readXmlString()   X-Ref
Convert XML to SimpleXml
If user wants DomDocument they can use dom_import_simplexml

return: SimpleXml Object

readTypedObject()   X-Ref
Read Class that is to be mapped to a server class.

Commonly used for Value Objects on the server

return: object|array

readAmf3TypeMarker()   X-Ref
AMF3 data type encountered load AMF3 Deserializer to handle
type markers.

return: string

getObjectEncoding()   X-Ref
Return the object encoding to check if an AMF3 object
is going to be return.

return: int



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