Functions

throw an exceptino containing error info

custom_warning_handler(int $errno, string $errstr, string $errfile, int $errline, mixed $errcontext) 

Parameters

$errno

int

$errstr

string

$errfile

string

$errline

int

$errcontext

mixed

Exceptions

\Exception

create tree data string for the representation of a result object.

objToTreeData(mixed $obj, string $objName) : mixed

A bit like a var dump but for displaying with jstree recursive.

todo reunderstand and comment this objname thing...

Parameters

$obj

mixed

$objName

string

Returns

mixed

Classes and interfaces

Amfphp_Core_Common_IDeserializedRequestHandler

interface for a class that can handle a deserialized request

« More »

Amfphp_Core_Common_IDeserializer

interface for deserializers.

« More »

Amfphp_Core_Common_IExceptionHandler

An exception handler is passed an exception and must translate that into something that is serializable.

« More »

Amfphp_Core_Common_ISerializer

interface for serializers.

« More »

Amf3DeserializationTest

Unit tests for Amfphp_Core_Amf_Serializer, but using amf3 note: phpunit dataProvider mechanism doesn't work well, so lots of boiler plate code here.

« More »

Amf3SerializationTest

Unit tests for Amfphp_Core_Amf_Serializer, but using amf3 note: phpunit dataProvider mechanism doesn't work well, so lots of boiler plate code here.

« More »

Amf3TestData

See AmfTestData for details, this is the extension for Amf3

« More »

AmfDeserializerWrapper

This class exports some internal (public) methods.

« More »

AmfSerializerWrapper

This class exports some internal (public) methods.

« More »

AmfTestData

test data for the Amfphp unit tests data types have the s prefix for 'serialized' and 'd' prefix for 'deserialized' for Packets there is a flaw in the Amfphp design which means that serializng and deserializing is not symmetrical.

« More »

AmfphpAuthentication

Authentication for Amfphp.

« More »

AmfphpAuthenticationTest

Test class for AmfphpAuthentication.

« More »

AmfphpCharsetConverter

Converts strings to the right encoding in incoming and outgoing packets.

« More »

AmfphpCharsetConverterTest

Test class for CharsetConverter.

« More »

AmfphpCustomClassConverter

Converts data from incoming packets with explicit types to custom classes, and vice versa for the outgoing packets.

« More »

AmfphpCustomClassConverterTest

Test class for CustomClassConverter.

« More »

AmfphpDiscovery

adds the discovery service, a service that returns information about available services.

« More »

AmfphpDiscoveryService

analyses existing services.

« More »

AmfphpDiscovery_MethodDescriptor

Contains all collected information about a service method.

« More »

AmfphpDiscovery_ParameterDescriptor

Contains all collected information about a service method parameter

« More »

AmfphpDiscovery_ServiceDescriptor

Contains all collected information about a service.

« More »

AmfphpDummy

This catches browser requests to the gateway, to show something more helpful than an error message.

« More »

AmfphpErrorHandler

sets a custom error handler to catch notices and such and transform them to exceptions.

« More »

AmfphpFlashClientGenerator

generates a Flash project for consumption of amfPHP services

« More »

AmfphpFlexClientGenerator

generates a Flash project for consumption of amfPHP services

« More »

AmfphpFlexMessaging

Support for flex messaging.

« More »

AmfphpFlexMessagingTest

Test class for FlexMessaging.

« More »

AmfphpFlexMessaging_AcknowledgeMessage

Used to generate a Flex Acknowledge message.

« More »

AmfphpFlexMessaging_ErrorMessage

Used to generate a Flex Error message.

« More »

AmfphpGet

Adds support for HTTP GET requests to services, useful for simple test calls and for cross domain ajax calls.

« More »

AmfphpHtmlClientGenerator

generates a Flash project for consumption of amfPHP services

« More »

AmfphpIncludedRequest

allows inclusion of an amfPHP entry point script.

« More »

AmfphpJson

Enables amfPHP to receive and reply with JSON This plugin can be deactivated if the project doesn't need to support JSON strings and returned as JSON strings using POST parameters.

« More »

AmfphpLogger

logs requests and responses in their serialized and deserialized forms.

« More »

AmfphpLoggerTest

Test class for AmfphpLogger.

« More »

Amfphp_BackOffice_AccessManager

controls access to back office, along with SignIn, SignOut scripts

« More »

Amfphp_BackOffice_ClientGenerator_GeneratorManager

loads the generators

« More »

Amfphp_BackOffice_ClientGenerator_LocalClientGenerator

Handles typical client generation, override various methods for customisation 1.

« More »

Amfphp_BackOffice_ClientGenerator_Util

common utilities for generators

« More »

Amfphp_BackOffice_Config

config for the backoffice

« More »

Amfphp_BackOffice_IncludeServiceCaller

Makes a call to the amfphp entry point and returns the data

« More »

Amfphp_BackOffice_JsonServiceCaller

Makes a call to the amfphp entry point and returns the data.

« More »

Amfphp_Core_Amf_Constants

constants relative to the Amf format

« More »

Amfphp_Core_Amf_Deserializer

Amfphp_Core_Amf_Deserializer takes the raw amf input stream and converts it PHP objects representing the data.

« More »

Amfphp_Core_Amf_Handler

This is the default handler for the gateway.

« More »

Amfphp_Core_Amf_Header

Amfphp_Core_Amf_Header is a data type that represents a single header passed via Amf

« More »

Amfphp_Core_Amf_Message

Amfphp_Core_Amf_Message is a data type that encapsulates all of the various properties a Message object can have.

« More »

Amfphp_Core_Amf_Packet

content holder for an Amf Packet.

« More »

Amfphp_Core_Amf_Serializer

AmfSerializer manages the job of translating PHP objects into the actionscript equivalent via Amf.

« More »

Amfphp_Core_Amf_Types_ByteArray

Amf byte arrays will be converted to and from this class

« More »

Amfphp_Core_Amf_Types_Date

Amf dates will be converted to and from this class.

« More »

Amfphp_Core_Amf_Types_Undefined

Amf Undefined will be converted to and from this class

« More »

Amfphp_Core_Amf_Types_Xml

Amf xml (not the AS3/AMF3 XMLDocument) will be converted to and from this class.

« More »

Amfphp_Core_Amf_Types_XmlDocument

AS3 XMLDocument type.

« More »

Amfphp_Core_Amf_Util

utils for Amf handling

« More »

Amfphp_Core_Amf_UtilTest

Test class for Amfphp_Core_Amf_Util.

« More »

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

« More »

Amfphp_Core_Common_ServiceCallParameters

place holder class for the variables necessary to make a service call

« More »

Amfphp_Core_Common_ServiceRouter

The Service Router class is responsible for executing the remote service method and returning it's value.

« More »

Amfphp_Core_Common_ServiceRouterTest

Test class for Amfphp_Core_Common_ServiceRouter.

« More »

Amfphp_Core_Config

responsable for loading and maintaining Amfphp configuration

« More »

Amfphp_Core_Exception

just a type to distinguish between Amfphp exceptions and any other exceptions

« More »

Amfphp_Core_FilterManager

Filters are provided by Amfphp to allow your contexts to 'filter into' the rest of Amfphp, i.e.

« More »

Amfphp_Core_FilterManagerTest

Test class for Amfphp_Core_FilterManager.

« More »

Amfphp_Core_Gateway

where everything comes together in amfphp.

« More »

Amfphp_Core_GatewayTest

Test class for Amfphp_Core_Gateway.

« More »

Amfphp_Core_HttpRequestGatewayFactory

A gateway factory's job is to create a gateway.

« More »

Amfphp_Core_PluginManager

Loads plugins for Amfphp.

« More »

Amfphp_Core_PluginManagerTest

Test class for Amfphp_Core_PluginManager.

« More »

AuthenticationService

Authentication and user administration service

« More »

AuthenticationService

a simple authentication service, used for testing the AmfphpAuthentication plugin

« More »

BadSyntaxService

bad syntax

« More »

BlaService

simple service for testing service subfolder support

« More »

ByteArrayTestService

a service for tests on byte arrays

« More »

DBUtils

Db Util

« More »

DeserializationTest

Unit tests for Amfphp_Core_Amf_Serializer note: phpunit dataProvider mechanism doesn't work well, so lots of boiler plate code here.

« More »

DisabledPlugin

a dummy plugin to test if loading in the plugin manager works properly.

« More »

DummyClass

used for testing with typed objects

« More »

DummyPlugin

a dummy plugin to test if loading in the plugin manager works properly.

« More »

DummyService

a dummy service to test locating services in folders

« More »

EmptyMoreService

empty service, just to test support for multiple service folders

« More »

ExampleSerializationDebugService

this service illustrates parsing a PHP serialized object to load test data.

« More »

ExampleService

This is a test/example service.

« More »

MySQLUtil

MySql Util

« More »

MyVO

vo holder class

« More »

PizzaService

an example service for the pizza examples

« More »

SerializationTest

Unit tests for Amfphp_Core_Amf_Serializer note: phpunit dataProvider mechanism doesn't work well, so lots of boiler plate code here.

« More »

TestCustomClass1

dummy class for testing custom class conversion

« More »

TestCustomClass2

dummy class for testing custom class conversion

« More »

TestCustomClass3

dummy class for testing custom class conversion

« More »

TestPlugin

an example plugin as in the documentation.

« More »

TestService

This is a test/example service.

« More »

TestServicesConfig

testing requires some services.

« More »

UserService

Authentication and user administration service

« More »

UserVo1

an example service for the pizza examples

« More »

VoService

an example service for typed objects

« More »

Constants

 

AMFPHP_BACKOFFICE_ROOTPATH

AMFPHP_BACKOFFICE_ROOTPATH 
 

AMFPHP_ROOTPATH

AMFPHP_ROOTPATH 
 

MYSQL_DB

MYSQL_DB 
 

MYSQL_HOST

MYSQL_HOST 
 

MYSQL_PASS

MYSQL_PASS 
 

MYSQL_PORT

MYSQL_PORT 
 

MYSQL_USER

MYSQL_USER 
 

USER_ROLE_ADMIN

USER_ROLE_ADMIN 
 

USER_ROLE_EDITOR

USER_ROLE_EDITOR 
 

USER_ROLE_MANAGER

USER_ROLE_MANAGER 
 

USER_ROLE_READER

USER_ROLE_READER