[Amfphp_Core_Common] element index

Package indexes

All elements
a c d e f g h i m s _
_
top
__construct
__construct
a
top
$absolutePath
the absolute path to the file containing the class definition
Amfphp_Core_Common_ClassFindInfo
The information necessary for a service router to be able to load a class' file and instanciate it could be extended later with namespaces when they become mainstream
Amfphp_Core_Common_IDeserializedRequestHandler
Amfphp_Core_Common_IDeserializedRequestHandler in IDeserializedRequestHandler.php
interface for a class that can handle a deserialized request
Amfphp_Core_Common_IDeserializer
interface for deserializers.
Amfphp_Core_Common_IExceptionHandler
Amfphp_Core_Common_IExceptionHandler in IExceptionHandler.php
An exception handler is passed an exception and must translate that into something that is serializable. In the case of Amf, it must return an Amfphp_Core_Amf_Packet object containing the relevant information
Amfphp_Core_Common_ISerializer
interface for serializers.
Amfphp_Core_Common_ServiceCallParameters
Amfphp_Core_Common_ServiceCallParameters in ServiceCallParameters.php
place holder class for the variables necessary to make a service call
Amfphp_Core_Common_ServiceRouter
The Service Router class is responsible for executing the remote service method and returning it's value.
c
top
$checkArgumentCount
check parameters. This is useful for development, but should be disabled for production
$className
the name of the class.
ClassFindInfo.php
ClassFindInfo.php in ClassFindInfo.php
d
top
deserialize
deserialize the data.
e
top
executeServiceCall
loads and instanciates a service class matching $serviceName, then calls the function defined by $methodName using $parameters as parameters throws an exception if service not found.
f
top
FILTER_SERVICE_OBJECT
filter called when the service object is created. Useful for authentication
g
top
getServiceObject
get a service object by its name. Looks for a match in serviceNames2ClassFindInfo, then in the defined service folders.
h
top
handleDeserializedRequest
handle the deserialized request, usually by making a series of calls to a service. This should not handle exceptions, as this is done separately
handleException
generates an object describing the exception.
i
top
IDeserializedRequestHandler.php
IDeserializedRequestHandler.php in IDeserializedRequestHandler.php
IDeserializer.php
IDeserializer.php in IDeserializer.php
IExceptionHandler.php
IExceptionHandler.php in IExceptionHandler.php
ISerializer.php
ISerializer.php in ISerializer.php
m
top
$methodName
the name of the method to execute on the service object
$methodParameters
the parameters to pass to the method being called on the service
s
top
$serviceFolderPaths
paths to folders containing services(relative or absolute)
$serviceName
the name of the service.
$serviceNames2ClassFindInfo
ServiceCallParameters.php
ServiceCallParameters.php in ServiceCallParameters.php
ServiceRouter.php
ServiceRouter.php in ServiceRouter.php
serialize
Calling this executes the serialization. The return type is noted as a String, but is a binary stream. echo it to the output buffer
a c d e f g h i m s _