Converts data from incoming packets with explicit types to custom classes.
If the vclass is not found, the object is unmodified. Sets the explicit type marker in the data of the outgoing packets. If the explicit type marker is already set in an outgoing object, the value is left as is. This works for nested objects. This is to support services and plugins setting the explicit type themselves.
Located in /Amfphp/Plugins/AmfphpCustomClassConverter/AmfphpCustomClassConverter.php (line 23)
constructor.
if the object contains an explicit type marker, this method attempts to convert it to its typed counterpart if the typed class is already available, then simply creates a new instance of it. If not, attempts to load the file from the available service folders.
If then the class is still not available, the object is not converted note: This is not a recursive function. Rather the recusrion is handled by Amfphp_Core_Amf_Util::applyFunctionToContainedObjects. must be public so that Amfphp_Core_Amf_Util::applyFunctionToContainedObjects can call it
converts untyped objects to their typed counterparts. Loads the class if necessary
looks at the outgoing packet and sets the explicit type field so that the serializer sends it properly
sets the the explicit type marker on the object and its sub-objects. This is only done if it not already set, as in some cases the service class might want to do this manually.
note: This is not a recursive function. Rather the recusrion is handled by Amfphp_Core_Amf_Util::applyFunctionToContainedObjects. must be public so that Amfphp_Core_Amf_Util::applyFunctionToContainedObjects can call it
Documentation generated on Thu, 24 Mar 2011 16:55:37 +0100 by phpDocumentor 1.4.3