[Amfphp_Core] element index

Package indexes

All elements
a c d e f g h i l o p r s _
_
top
__construct
constructor
__construct
constructor
__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
$checkArgumentCount
set to true if you want the service router to check if the number of arguments received by amfPHP matches with the method being called.
$config
config.
$contentType
the content type. For example for amf, application/x-amf
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.
CONFIG_RETURN_ERROR_DETAILS
if true, there will be detailed information in the error messages, including confidential information like paths.
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
$filtersArray
registered filters
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_HEADERS
filter called to get the headers
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.
FILTER_SERVICE_FOLDER_PATHS
filter just after plugin init. Use this to add a service folder for a plugin
FILTER_SERVICE_NAMES_2_CLASS_FIND_INFO
filter just after plugin init. Use this to add a service for a plugin when a service folder isn't enough
g
top
$getData
typically the $_GET array.
Gateway.php
Gateway.php in Gateway.php
getInstance
getInstance
gives access to the singleton
getRawPostData
there seems to be some confusion in the php doc as to where best to get the raw post data from.
getResponseHeaders
get the response headers. Creates an associative array of headers, then filters them, then returns an array of strings
h
top
HttpRequestGatewayFactory.php
HttpRequestGatewayFactory.php in HttpRequestGatewayFactory.php
i
top
$instance
protected instance of singleton
$instance
protected instance of singleton
l
top
loadPlugins
load the plugins
o
top
output
helper function for sending gateway data to output stream
p
top
$pluginInstances
$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.
$pluginsFolders
paths to the folder containing the plugins. defaults to AMFPHP_ROOTPATH . '/Plugins/'
$postData
typically the $_POST array.
PluginManager.php
PluginManager.php in PluginManager.php
r
top
$rawInputData
the serialized request
$rawOutputData
the serialized response
s
top
$serviceFolderPaths
paths to folders containing services(relative or absolute)
$serviceNames2ClassFindInfo
a dictionary of service classes represented in a ClassFindInfo.
$sharedConfig
array containing configuration data that is shared between the plugins. The format is paramName/paramValue pairs as an array.
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 i l o p r s _