[Amfphp_Core] element index

Package indexes

All elements
a c d e f g h l p s _
_
top
__construct
constructor
__construct
a
top
addFilter
register an object method for the given filter
Amfphp_Core_Config
Amfphp_Core_Config in Config.php
responsable for loading and maintaining Amfphp configuration
Amfphp_Core_Exception
Amfphp_Core_Exception in Exception.php
just a type to distinguish between Amfphp exceptions and any other exceptions
Amfphp_Core_FilterManager
Amfphp_Core_FilterManager in FilterManager.php
This class is a kind of event dispatcher
Amfphp_Core_Gateway
Amfphp_Core_Gateway in Gateway.php
where everything comes together in amfphp.
Amfphp_Core_HttpRequestGatewayFactory
Amfphp_Core_HttpRequestGatewayFactory in HttpRequestGatewayFactory.php
A gateway factory's job is to create a gateway. There can be many gateway factories, but as such the only one for now is this one, which creates a gateway assuming that the data to be processed is in an http request and thus available through the usual php globals
Amfphp_Core_PluginManager
Amfphp_Core_PluginManager in PluginManager.php
Loads plugins for Amfphp. Plugins consist of a folder in the plugins folder. The folder and the class should all have the same name. The file containing the class should be named with the class name with the ".php" suffix added.
Amfphp_ROOTPATH
Amfphp_ROOTPATH in ClassLoader.php
include this to include amfphp note: this list could be generated. In the meantime maintain it manually.
c
top
ClassLoader.php
ClassLoader.php in ClassLoader.php
Config.php
Config.php in Config.php
callFilters
call the functions registered for the given filter. There can be as many parameters as necessary, but only the first one can be changed and and returned by the callees.
createGateway
create the gateway
d
top
$disabledPlugins
array of plugins that are available but should be disabled
e
top
Exception.php
Exception.php in Exception.php
f
top
FilterManager.php
FilterManager.php in FilterManager.php
FILTER_DESERIALIZED_REQUEST
filter called after the request is deserialized. The callee can modify the data and return it.
FILTER_DESERIALIZED_REQUEST_HANDLER
filter called to allow a plugin to override the default amf deserialized request handler.
FILTER_DESERIALIZED_RESPONSE
filter called when the response is ready but not yet serialized. The callee can modify the data and return it.
FILTER_DESERIALIZER
filter called to allow a plugin to override the default amf deserializer.
FILTER_EXCEPTION_HANDLER
filter called to allow a plugin to override the default amf exception handler.
FILTER_SERIALIZED_REQUEST
filter called when the serialized request comes in.
FILTER_SERIALIZED_RESPONSE
filter called when the packet response is ready and serialized.
FILTER_SERIALIZER
filter called to allow a plugin to override the default amf serializer.
g
top
Gateway.php
Gateway.php in Gateway.php
getInstance
getInstance
gives access to the singleton
getResponseHeaders
get the response headers. This might be expanded for stuff like gzip, etc. For now just a content type
h
top
HttpRequestGatewayFactory.php
HttpRequestGatewayFactory.php in HttpRequestGatewayFactory.php
l
top
loadPlugins
load the plugins
p
top
$pluginsConfig
array containing untyped plugin configuration data. Add as needed. The advised format is the name of the plugin as key, and then paramName/paramValue pairs as an array.
$pluginsFolder
path to the folder containing the plugins. defaults to Amfphp_ROOTPATH . "/Plugins/"
PluginManager.php
PluginManager.php in PluginManager.php
s
top
$serviceFolderPaths
paths to folders containing services(relative or absolute)
$serviceNames2ClassFindInfo
a dictionary of service classes represented in a ClassFindInfo.
service
The service method runs the gateway application. It deserializes the raw data passed into the constructor as an Amfphp_Core_Amf_Packet, handles the headers, handles the messages as requests to services, and returns the responses from the services It does not however handle output headers, gzip compression, etc. that is the job of the calling script
a c d e f g h l p s _