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.
Read an AMF0 input stream and convert it into PHP data types
int $_objectEncoding = 'Zend_Amf_Constants'
If AMF3 serialization occurs, update to AMF0 0x03
array $_reference = 'array'
An array of objects used for recursively deserializing an object.
getObjectEncoding(
)
:
int
Return the object encoding to check if an AMF3 object is going to be return.
readAmf3TypeMarker(
)
:
string
AMF3 data type encountered load AMF3 Deserializer to handle type markers.
readArray(
)
:
array
Converts numerically indexed actiosncript arrays into php arrays.
Called when marker type is 10
readDate(
)
:
Zend_Date
Convert AS Date to Zend_Date
readMixedArray(
)
:
array
Reads an array with numeric and string indexes.
Called when marker type is 8
readObject(
array|null $object
=
null
)
:
object
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.
readReference(
)
:
object
Read reference objects
Used to gain access to the private array of reference objects. Called when marker type is 7.
readTypeMarker(
integer $typeMarker
=
null
)
:
mixed
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.
readTypedObject(
)
:
object|array
Read Class that is to be mapped to a server class.
Commonly used for Value Objects on the server
readXmlString(
)
:
SimpleXml
Convert XML to SimpleXml If user wants DomDocument they can use dom_import_simplexml