|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| readTypeMarker ($typeMarker=null) | |
| readInteger () | |
| readString () | |
| readDate () | |
| readArray () | |
| readObject () | |
| readXmlString () | |
Protected Attributes | |
| $_objectCount | |
| $_referenceObjects = array() | |
| $_referenceStrings = array() | |
| $_referenceDefinitions = array() | |
Definition at line 40 of file Deserializer.php.
| readArray | ( | ) |
Read amf array to PHP array
Definition at line 240 of file Deserializer.php.


| readDate | ( | ) |
Read and deserialize a date
Data is the number of milliseconds elapsed since the epoch of midnight, 1st Jan 1970 in the UTC time zone. Local time zone information is not sent to flash.
Definition at line 213 of file Deserializer.php.


| readInteger | ( | ) |
Read and deserialize an integer
AMF 3 represents smaller integers with fewer bytes using the most significant bit of each byte. The worst case uses 32-bits to represent a 29-bit number, which is what we would have done with no compression.
0x04 -> integer type code, followed by up to 4 bytes of data.
Parsing integers on OSFlash for the AMF3 integer data format: int|float
Definition at line 134 of file Deserializer.php.

| readObject | ( | ) |
Read an object from the AMF stream and convert it into a PHP object
Definition at line 279 of file Deserializer.php.


| readString | ( | ) |
Read and deserialize a string
Strings can be sent as a reference to a previously occurring String by using an index to the implicit string reference table. Strings are encoding using UTF-8 - however the header may either describe a string literal or a string reference.
Definition at line 176 of file Deserializer.php.


| readTypeMarker | ( | $ | typeMarker = null | ) |
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.
| integer | $typeMarker |
| Zend_Amf_Exception | for unidentified marker type |
Reimplemented from Zend_Amf_Parse_Deserializer.
Definition at line 77 of file Deserializer.php.


| readXmlString | ( | ) |
Convert XML to SimpleXml If user wants DomDocument they can use dom_import_simplexml
Definition at line 414 of file Deserializer.php.


$_objectCount [protected] |
Definition at line 46 of file Deserializer.php.
$_referenceDefinitions = array() [protected] |
Definition at line 64 of file Deserializer.php.
$_referenceObjects = array() [protected] |
Definition at line 52 of file Deserializer.php.
$_referenceStrings = array() [protected] |
Definition at line 58 of file Deserializer.php.