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
Detailsarray $_reference = 'array'An array of objects used for recursively deserializing an object.
DetailsgetObjectEncoding(
)
:
intReturn the object encoding to check if an AMF3 object is going to be return.
DetailsreadAmf3TypeMarker(
)
:
stringAMF3 data type encountered load AMF3 Deserializer to handle type markers.
DetailsreadArray(
)
:
arrayConverts numerically indexed actiosncript arrays into php arrays.
Called when marker type is 10
DetailsreadDate(
)
:
Zend_DateConvert AS Date to Zend_Date
DetailsreadMixedArray(
)
:
arrayReads an array with numeric and string indexes.
Called when marker type is 8
DetailsreadObject(
array|null $object
=
null
)
:
objectRead 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.
DetailsreadReference(
)
:
objectRead reference objects
Used to gain access to the private array of reference objects. Called when marker type is 7.
DetailsreadTypeMarker(
integer $typeMarker
=
null
)
:
mixedRead 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.
DetailsreadTypedObject(
)
:
object|arrayRead Class that is to be mapped to a server class.
Commonly used for Value Objects on the server
DetailsreadXmlString(
)
:
SimpleXmlConvert XML to SimpleXml If user wants DomDocument they can use dom_import_simplexml
Details