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


Public Member Functions | |
| readTypeMarker ($typeMarker=null) | |
| readObject ($object=null) | |
| readReference () | |
| readMixedArray () | |
| readArray () | |
| readDate () | |
| readXmlString () | |
| readTypedObject () | |
| readAmf3TypeMarker () | |
| getObjectEncoding () | |
Protected Attributes | |
| $_reference = array() | |
| $_objectEncoding = Zend_Amf_Constants::AMF0_OBJECT_ENCODING | |
Definition at line 39 of file Deserializer.php.
Return the object encoding to check if an AMF3 object is going to be return.
Definition at line 302 of file Deserializer.php.
AMF3 data type encountered load AMF3 Deserializer to handle type markers.
Definition at line 288 of file Deserializer.php.

| readArray | ( | ) |
Converts numerically indexed actiosncript arrays into php arrays.
Called when marker type is 10
Definition at line 212 of file Deserializer.php.


| readDate | ( | ) |
Convert AS Date to Zend_Date
Definition at line 227 of file Deserializer.php.

| readMixedArray | ( | ) |
Reads an array with numeric and string indexes.
Called when marker type is 8
Definition at line 199 of file Deserializer.php.


| readObject | ( | $ | object = null | ) |
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.
| array | null | $object |
Definition at line 149 of file Deserializer.php.


| readReference | ( | ) |
Read reference objects
Used to gain access to the private array of reference objects. Called when marker type is 7.
| Zend_Amf_Exception | for invalid reference keys |
Definition at line 179 of file Deserializer.php.

| readTypedObject | ( | ) |
Read Class that is to be mapped to a server class.
Commonly used for Value Objects on the server
| Zend_Amf_Exception | if unable to load type |
Definition at line 263 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 invalid type |
Reimplemented from Zend_Amf_Parse_Deserializer.
Definition at line 65 of file Deserializer.php.


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

$_objectEncoding = Zend_Amf_Constants::AMF0_OBJECT_ENCODING [protected] |
Definition at line 52 of file Deserializer.php.
$_reference = array() [protected] |
Definition at line 45 of file Deserializer.php.