$voConverter
$voConverter : \Amfphp_Core_Common_IVoConverter
converts VOs directly if set, rather than instanciating anonymous classes that are converted later
Amfphp_Core_Amf_Deserializer takes the raw amf input stream and converts it PHP objects representing the data.
Based on code from amfphp 1.9, adapted and enhanced by Ariel Sommeria-Klein to amfphp 2.x architecture Vector code by Mick Powell
$voConverter : \Amfphp_Core_Common_IVoConverter
converts VOs directly if set, rather than instanciating anonymous classes that are converted later
deserialize(array $getData, array $postData, string $rawPostData) : \Amfphp_Core_Amf_Packet
convert from text/binary to php object
array | $getData | |
array | $postData | |
string | $rawPostData |
readDate() : \Amfphp_Core_Amf_Types_Date
readDate reads a date from the amf Packet and returns the time in ms.
This method is still under development.
a container with the date in ms.
readXml() : \Amfphp_Core_Amf_Types_Xml
read xml
readCustomClass() : object
readCustomClass reads the amf content associated with a class instance which was registered with Object.registerClass.
If a VoConverter is available, it is used to instanciate the Vo. If not, In order to preserve the class name an additional property is assigned to the object Amfphp_Core_Amf_Constants::FIELD_EXPLICIT_TYPE. This property will be overwritten if it existed within the class already.
The php representation of the object
readAmf3Date() : boolean|\Amfphp_Core_Amf_Types_Date
read amf 3 date
readAmf3Xml() : \Amfphp_Core_Amf_Types_Xml
read amf 3 xml
readAmf3XmlDocument() : \Amfphp_Core_Amf_Types_Xml
read amf 3 xml doc
readAmf3ByteArray() : \Amfphp_Core_Amf_Types_ByteArray
read Amf 3 byte array
readAmf3Vector( $type) : array
Reads a vector array of objects from the AMF stream. This works for all vector arrays: vector-object, vector-int vector-uint and vector-double. The Vector is cast to a PHP array. Please note that because of the way php handles integers, uints have to be cast as floats. See {@link http://php.net/manual/en/language.types.integer.php}
$type |
The objects in the vector in a native PHP array.
readAmf3VectorValue( $length, $format) : \<type>
Read numeric values from the AMF byte stream. Please be aware that unsigned integers are not really supported in PHP, and for this reason unsigned integers are cast to float. {@link http://php.net/manual/en/language.types.integer.php}.
$length | ||
$format |