[Amfphp_Plugins_CustomClassConverter] element index

Package indexes

All elements
a c f m _
_
top
__construct
AmfphpCustomClassConverter::__construct() in AmfphpCustomClassConverter.php
constructor.
a
top
AmfphpCustomClassConverter.php
AmfphpCustomClassConverter.php in AmfphpCustomClassConverter.php
AmfphpCustomClassConverter
AmfphpCustomClassConverter in AmfphpCustomClassConverter.php
Converts data from incoming packets with explicit types to custom classes.
c
top
$customClassFolderPaths
AmfphpCustomClassConverter::$customClassFolderPaths in AmfphpCustomClassConverter.php
paths to folders containing custom classes(relative or absolute)
convertToTyped
AmfphpCustomClassConverter::convertToTyped() in AmfphpCustomClassConverter.php
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.
f
top
filterDeserializedRequest
converts untyped objects to their typed counterparts. Loads the class if necessary
filterDeserializedResponse
looks at the outgoing packet and sets the explicit type field so that the serializer sends it properly
m
top
markExplicitType
AmfphpCustomClassConverter::markExplicitType() in AmfphpCustomClassConverter.php
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.
a c f m _