-
$absolutePath
-
the absolute path to the file containing the class definition
-
$additionnalResponseHeaders
-
set this if you need additional headers in the response. They will be added after normal treatment
-
$additionnalResponseMessages
-
set this if you need additional messages in the response. They will be added after normal treatment
-
$amf0storedObjects
-
-
$Amf0StoredObjects
-
used for Amf0 references
-
$amfVersion
-
either 0 or 3. This is stored here when deserializing, because the serializer needs the info
-
addFilter
-
register an object method for the given filter
-
addRole
-
-
adminMethod
-
method that is protected by authentication. Only 'admin' role is authorized. (see _getMethodRoles)
-
AMF0_ENCODING
-
amf0 encoding
-
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. Oh well... A.S.
-
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. Oh well... A.S.
-
Amf3TestData
-
See AmfTestData for details, this is the extension for Amf3
-
AMF3_ENCODING
-
amf3 encoding
-
AmfDeserializerWrapper
-
This class exports some internal (public) methods. This way, those methods can be tested separately.
-
AmfphpAuthentication.php
-
-
AmfphpCharsetConverter.php
-
-
AmfphpCustomClassConverter.php
-
-
AmfphpErrorHandler.php
-
-
AcknowledgeMessage.php
-
-
AmfphpFlexMessaging.php
-
-
AmfphpGet.php
-
-
AmfphpJson.php
-
-
AmfphpLogger.php
-
-
AmfphpServiceBrowser.php
-
-
AmfphpAuthentication
-
Authentication for Amfphp.
-
AmfphpAuthenticationTest
-
Test class for AmfphpAuthentication.
-
AmfphpCharsetConverter
-
Converts strings to the right encoding in incoming and outgoing packets.
-
AmfphpCharsetConverterTest
-
Test class for CharsetConverter.
-
AmfphpCustomClassConverter
-
Converts data from incoming packets with explicit types to custom classes, and vice versa for the outgoing packets.
-
AmfphpCustomClassConverterTest
-
Test class for CustomClassConverter.
-
AmfphpErrorHandler
-
sets a custom error handler to catch notices and such and transform them to exceptions.
-
AmfphpFlexMessaging
-
Support for flex messaging.
-
AmfphpFlexMessagingTest
-
Test class for FlexMessaging.
-
AmfphpFlexMessaging_AcknowledgeMessage
-
Used to generate a Flex Acknowledge message.
-
AmfphpFlexMessaging_ErrorMessage
-
Used to generate a Flex Error message.
-
AmfphpGet
-
Adds support for HTTP GET requests to services, useful for simple test calls and for cross domain ajax calls.
-
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.
-
AmfphpLogger
-
logs requests and responses in their serialized and deserialized forms.
-
AmfphpLoggerTest
-
Test class for AmfphpLogger.
-
AmfphpServiceBrowser
-
A simple service browser with html only. Sometimes you don't need the full thing with AMF etc., so use this This plugin should be deactivated on a production server.
-
Amfphp_Core_Amf_Constants
-
constants relative to the Amf format
-
Amfphp_Core_Amf_Deserializer
-
Amfphp_Core_Amf_Deserializer takes the raw amf input stream and converts it PHP objects representing the data.
-
Amfphp_Core_Amf_Handler
-
This is the default handler for the gateway. It's job is to handle everything that is specific to Amf for the gateway.
-
Amfphp_Core_Amf_Header
-
Amfphp_Core_Amf_Header is a data type that represents a single header passed via Amf
-
Amfphp_Core_Amf_Message
-
Amfphp_Core_Amf_Message is a data type that encapsulates all of the various properties a Message object can have.
-
Amfphp_Core_Amf_Packet
-
content holder for an Amf Packet.
-
Amfphp_Core_Amf_Serializer
-
AmfSerializer manages the job of translating PHP objects into the actionscript equivalent via Amf. The main method of the serializer is the serialize method which takes and AmfObject as it's argument and builds the resulting Amf Message.
-
Amfphp_Core_Amf_Types_ByteArray
-
Amf byte arrays will be converted to and from this class
-
Amfphp_Core_Amf_Types_ByteArray
-
-
Amfphp_Core_Amf_Types_Date
-
-
Amfphp_Core_Amf_Types_Date
-
Amf dates will be converted to and from this class. The PHP DateTime class is for PHP >= 5.2.0, and setTimestamp for PHP >= 5.3.0, so it can't be used in amfPHP Of course feel free to use it yourself if your host supports it.
-
Amfphp_Core_Amf_Types_Undefined
-
Amf Undefined will be converted to and from this class
-
Amfphp_Core_Amf_Types_Xml
-
-
Amfphp_Core_Amf_Types_Xml
-
Amf xml (not the AS3/AMF3 XMLDocument) will be converted to and from this class.
-
Amfphp_Core_Amf_Types_XmlDocument
-
-
Amfphp_Core_Amf_Types_XmlDocument
-
AS3 XMLDocument type.
-
Amfphp_Core_Amf_Util
-
utils for Amf handling
-
Amfphp_Core_Amf_UtilTest
-
Test class for Amfphp_Core_Amf_Util.
-
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
-
interface for a class that can handle a deserialized request
-
Amfphp_Core_Common_IDeserializer
-
interface for deserializers.
-
Amfphp_Core_Common_IExceptionHandler
-
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
-
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.
-
Amfphp_Core_Common_ServiceRouterTest
-
Test class for Amfphp_Core_Common_ServiceRouter.
-
Amfphp_Core_Config
-
responsable for loading and maintaining Amfphp configuration
-
Amfphp_Core_Exception
-
just a type to distinguish between Amfphp exceptions and any other exceptions
-
Amfphp_Core_FilterManager
-
This class is a kind of event dispatcher
-
Amfphp_Core_FilterManagerTest
-
Test class for Amfphp_Core_FilterManager.
-
Amfphp_Core_Gateway
-
where everything comes together in amfphp.
-
Amfphp_Core_GatewayTest
-
Test class for Amfphp_Core_Gateway.
-
Amfphp_Core_HttpRequestGatewayFactory
-
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
-
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_Core_PluginManagerTest
-
Test class for Amfphp_Core_PluginManager.
-
AMFPHP_ROOTPATH
-
include this to include amfphp note: this list could be generated. In the meantime maintain it manually.
-
AmfSerializerWrapper
-
This class exports some internal (public) methods. This way, those methods can be tested separately.
-
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.
-
applyFunctionToContainedObjects
-
applies a function to all objects contained by $obj and $obj itself.
-
AuthenticationService
-
a simple authentication service, used for testing the AmfphpAuthentication plugin
-
Amf3DeserializationTest.php
-
-
Amf3SerializationTest.php
-
-
AmfDeserializerWrapper.php
-
-
AmfSerializerWrapper.php
-
-
AmfUtilTest.php
-
-
AmfphpAuthenticationTest.php
-
-
AmfphpCharsetConverterTest.php
-
-
AmfphpCustomClassConverterTest.php
-
-
AmfphpFlexMessagingTest.php
-
-
AmfphpLoggerTest.php
-
-
Amf3TestData.php
-
-
AmfTestData.php
-
-
AuthenticationService.php
-
-
$body
-
-
ByteArray.php
-
-
BlaService
-
simple service for testing service subfolder support
-
build2HeadersAndTwoMessagesPacket
-
an Amfphp_Core_Amf_Packet with two headers one with a string and one with a null , and two Messages, one with a string and one with a null
-
buildArray
-
-
buildBasics
-
simple...
-
buildBoolean
-
-
buildByte
-
byte
-
buildByteArray
-
-
buildDate
-
-
buildDate
-
-
buildDouble
-
double: 0x05 as type marker, then 8 bytes. Careful of little/big endian so that test runs with both systems
-
buildDouble
-
double: 8 bytes. Careful of little/big endian so that test runs with both systems
-
buildEcmaArray
-
the writeArray method looks at the keys. If there are both numeric and string keys, the data is treated as an Ecma Array
-
buildEmptyPacket
-
test serializing an empty Amfphp_Core_Amf_Packet.
-
buildInt
-
-
buildInt
-
int: 2 bytes
-
buildLong
-
long: 4 bytes
-
buildLongString
-
-
buildLongUtf
-
long utf: the length of the data on 4 bytes and then the char data. The char data is more than 65xxx long
-
buildNull
-
-
buildNullHeaderPacket
-
one header containing a null, and with required set to true
-
buildNullMessagePacket
-
no headers and a Message containing a null
-
buildNumber
-
number: type is0, then value in (double)8 bytes. See buildDouble for little/big endian
-
buildObject
-
-
buildObject
-
-
buildObjectEnd
-
-
buildReference
-
TODO test with a real reference?
-
buildSimpleTestServiceRequestAndResponse
-
-
buildStrictArray
-
-
buildString
-
-
buildString
-
note: no type markers here, because the method doesn't do it. So only the raw data.
-
buildStringHeaderPacket
-
with one header containing a string
-
buildStringMessagePacket
-
no headers and a Message containing a string
-
buildTypedObject
-
note: the writeXml method gets rids of CRs and LFs
-
buildUndefined
-
-
buildUnsupported
-
TODO: no writeUnsupported method, and no PHP for unsupported. Write it A.S.
-
buildUtf
-
utf: the length of the data on 2 bytes and then the char data
-
buildXml
-
-
buildXml
-
note: the writeXml method gets rids of CRs and LFs
-
ByteArrayTestService
-
a service for tests on byte arrays
-
bootstrap.php
-
-
BlaService.php
-
-
ByteArrayTestService.php
-
-
$callDurationMs
-
-
$callStartTimeMs
-
-
$checkArgumentCount
-
check parameters. This is useful for development, but should be disabled for production
-
$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.
-
$className
-
the name of the class.
-
$className2TraitsInfo
-
used for traits references. key: class name. value: array(reference id, array(property names))
-
$clientCharset
-
the Charset that is used by the client. default utf-8 See all the possible codepages for iconv here: http://www.gnu.org/software/libiconv/
-
$clientId
-
-
$clientUsesFlexMessaging
-
if this is set, special error handling applies
-
$config
-
config.
-
$contentType
-
the content type. For example for amf, application/x-amf
-
$correlationId
-
-
$correlationId
-
-
$counter
-
for testApplyFunc
-
$currentByte
-
The current seek cursor of the stream
-
$customClassFolderPaths
-
paths to folders containing custom classes(relative or absolute)
-
ClassLoader.php
-
-
Constants.php
-
-
ClassFindInfo.php
-
-
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.
-
clearSessionInfo
-
clears the session info set by the plugin. Use to logout
-
CLIENT_FAILURE_METHOD
-
The status method name
-
CLIENT_SUCCESS_METHOD
-
The success method name
-
CONFIG_RETURN_ERROR_DETAILS
-
if true, there will be detailed information in the error messages, including confidential information like paths.
-
CONTENT_TYPE
-
the content-type string indicating a cross domain ajax call
-
CONTENT_TYPE
-
The AMf content type, for use in the headers
-
CONTENT_TYPE
-
if content type is not set or content is set to "application/x-www-form-urlencoded", this plugin will handle the request
-
convertStringFromClientToPhpCharsets
-
converts the strings note: This is not a recursive function. Rather the recursion is handled by Amfphp_Core_Amf_Util::applyFunctionToContainedObjects.
-
convertStringFromPhpToClientCharsets
-
note: This is not a recursive function. Rather the recusrion is handled by Amfphp_Core_Amf_Util::applyFunctionToContainedObjects.
-
convertToTyped
-
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.
-
createGateway
-
create the gateway.
-
CREDENTIALS_FIELD_PASSWORD
-
the password field in the credentials header
-
CREDENTIALS_FIELD_USERID
-
the user id field in the credentials header
-
CREDENTIALS_HEADER_NAME
-
this is the name of the credentials header. can be used for AS3, but is mostly AS2 only
-
custom_warning_handler
-
-
$faultCode
-
-
$faultDetail
-
-
$faultString
-
-
$filtersArray
-
registered filters
-
FilterManager.php
-
-
FIELD_EXPLICIT_TYPE
-
this is the field where the class name of an object must be set so that it can be sent as a strongly typed object.
-
FIELD_EXTERNALIZED_DATA
-
if an object is marked as externalizable(AMF3 and later), this is where the externalized data goes.
-
FIELD_MESSAGE_ID
-
-
filterAmfExceptionHandler
-
-
filterAmfRequestHeaderHandler
-
-
filterAmfRequestMessageHandler
-
-
filterDeserializedRequest
-
sets deserialized request to “bla”
-
filterDeserializedRequest
-
logs the deserialized request
-
filterDeserializedRequest
-
converts untyped objects to their typed counterparts. Loads the class if necessary
-
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
-
filterDeserializedResponse
-
logs the deserialized response
-
filterDeserializedResponse
-
looks at the response and sets the explicit type field so that the serializer sends it properly
-
filterHandler
-
if no content type, then returns this.
-
filterHandler
-
If the content type contains the 'json' string, returns this plugin
-
filterHandler
-
If the content type contains the 'json' string, returns this plugin
-
filterHeaders
-
filter the headers to make sure the content type is set to text/html if the request was handled by the service browser
-
filterHeaders
-
sets return content type to json
-
filterSerializedRequest
-
logs the serialized incoming packet
-
filterSerializedResponse
-
logs the deserialized incoming packet
-
filterServiceObject
-
called when the service object is created, just before the method call.
-
FILTER_AMF_EXCEPTION_HANDLER
-
filter called for exception handling an Amf packet/message, to give a plugin the chance to handle it.
-
FILTER_AMF_REQUEST_HEADER_HANDLER
-
filter called for each amf request header, to give a plugin the chance to handle it.
-
FILTER_AMF_REQUEST_MESSAGE_HANDLER
-
filter called for each amf request message, to give a plugin the chance to handle it.
-
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
-
FILTER_SERVICE_OBJECT
-
filter called when the service object is created. Useful for authentication
-
FLEX_TYPE_ACKNOWLEDGE_MESSAGE
-
-
FLEX_TYPE_COMMAND_MESSAGE
-
-
FLEX_TYPE_ERROR_MESSAGE
-
-
FLEX_TYPE_REMOTING_MESSAGE
-
-
FilterManagerTest.php
-
-
$rawData
-
-
$rawInputData
-
the serialized request
-
$rawOutputData
-
the serialized response
-
$required
-
Required is a boolean determining whether the remote system must understand this header in order to operate. If the system does not understand the header then it should not execute the method call.
-
$responseUri
-
in the case of a request: operation name, for example /1
-
$returnErrorDetails
-
-
$returnErrorDetails
-
-
$returnErrorDetails
-
-
$returnErrorDetails
-
-
$returnErrorDetails
-
-
$rootCause
-
-
readAmf3Array
-
-
readAmf3Array
-
-
readAmf3ByteArray
-
-
readAmf3ByteArray
-
-
readAmf3Data
-
-
readAmf3Data
-
read the type byte, then call the corresponding amf3 data reading function
-
readAmf3Date
-
-
readAmf3Int
-
Handle decoding of the variable-length representation which gives seven bits of value per serialized byte by using the high-order bit of each byte as a continuation flag.
-
readAmf3Object
-
this probably needs some refactoring. Leave as is for now... A.S.
-
readAmf3Object
-
-
readAmf3String
-
readString
-
readAmf3String
-
-
readAmf3Xml
-
-
readAmf3XmlDocument
-
-
readArray
-
readArray turns an all numeric keyed actionscript array into a php array.
-
readArray
-
-
readBuffer
-
Taken from SabreAmf
-
readByte
-
-
readByte
-
readByte grabs the next byte from the data stream and returns it.
-
readCustomClass
-
readCustomClass reads the amf content associated with a class instance which was registered with Object.registerClass. In order to preserve the class name an additional property is assigned to the object Amfphp_Core_Amf_Constants::FIELD_EXPLICIT_TYPE. This property will be overwritten if it existed within the class already.
-
readData
-
readData is the main switch for mapping a type code to an actual implementation for deciphering it.
-
readDate
-
readDate reads a date from the amf Packet and returns the time in ms.
-
readDate
-
-
readDouble
-
readDouble reads the floating point value from the bytes stream and properly orders the bytes depending on the system architecture.
-
readDouble
-
-
readHeaders
-
readHeaders converts that header section of the amf Packet into php obects.
-
readInt
-
readInt grabs the next 2 bytes and returns the next two bytes, shifted and combined to produce the resulting integer
-
readInt
-
-
readLong
-
readLong grabs the next 4 bytes shifts and combines them to produce an integer
-
readLong
-
-
readLongUTF
-
readLongUTF first grabs the next 4 bytes which represent the string length.
-
readLongUtf
-
-
readMessages
-
-
readMixedArray
-
readMixedArray turns an array with numeric and string indexes into a php array
-
readMixedArray
-
-
readMixedObject
-
readMixedObject reads the name/value properties of the amf Packet and converts numeric looking keys to numeric keys
-
readObject
-
readObject reads the name/value properties of the amf Packet and converts them into their equivilent php representation
-
readObject
-
-
readReference
-
-
readReference
-
readReference replaces the old readFlushedSO. It treats where there
-
readUTF
-
readUTF first grabs the next 2 bytes which represent the string length.
-
readUtf
-
-
readXml
-
-
resetReferences
-
-
resetReferences
-
initialize reference arrays and counters. Call before writing a body or a header, as the indices are local to each message body or header
-
returnAfterOneSecond
-
-
returnBla
-
-
returnDouble
-
-
returnNull
-
-
returnNull
-
-
returnOneParam
-
-
returnOneParam
-
-
returnSum
-
-
$s2Headers2MessagesPacket
-
-
$sBinary
-
-
$sBoolean
-
-
$sByte
-
-
$sByteArray
-
-
$sDate
-
-
$sDate
-
-
$sDenseArray
-
-
$sDouble
-
-
$sDouble
-
-
$sEcmaArray
-
-
$sEmptyArray
-
-
$sEmptyPacket
-
-
$sEmptyString
-
-
$serviceFolderPaths
-
paths to folders containing services(relative or absolute)
-
$serviceFolderPaths
-
paths to folders containing services(relative or absolute)
-
$serviceFolderPaths
-
-
$serviceName
-
-
$serviceName
-
the name of the service.
-
$serviceNames2ClassFindInfo
-
a dictionary of service classes represented in a ClassFindInfo.
-
$serviceNames2ClassFindInfo
-
-
$serviceNames2ClassFindInfo
-
-
$serviceObj
-
-
$serviceRouter
-
-
$serviceRouter
-
-
$sFalse
-
-
$sharedConfig
-
array containing configuration data that is shared between the plugins. The format is paramName/paramValue pairs as an array.
-
$showResult
-
-
$sInt
-
-
$sInt1
-
-
$sInt2
-
-
$sLong
-
-
$sLongString
-
-
$sLongString
-
-
$sLongUtf
-
-
$sMixedArray
-
-
$sNull
-
-
$sNull
-
-
$sNullHeaderPacket
-
-
$sNullMessagePacket
-
-
$sNumber
-
-
$sObject
-
-
$sObject
-
-
$sObjectEnd
-
-
$sourceUrl
-
dummy parameter
-
$sReference
-
-
$sStrictArray
-
-
$sString
-
-
$sString
-
-
$sStringHeaderPacket
-
-
$sStringMessagePacket
-
-
$sStringTwice
-
-
$storedDefinitions
-
-
$storedObjects
-
used for Amf3 references
-
$storedObjects
-
-
$storedStrings
-
amf3 references to strings
-
$storedStrings
-
-
$sTrue
-
-
$sTypedObject
-
-
$sUndefined
-
-
$sUndefined
-
-
$sUnsupported
-
-
$sUtf
-
-
$sXml
-
-
$sXml
-
-
$sXmlDocument
-
-
Serializer.php
-
-
ServiceCallParameters.php
-
-
ServiceRouter.php
-
-
searchFolderForServices
-
finds classes in folder. If in subfolders add the relative path to the name.
-
SerializationTest
-
Unit tests for Amfphp_Core_Amf_Serializer note: phpunit dataProvider mechanism doesn't work well, so lots of boiler plate code here. Oh well... A.S.
-
serialize
-
serializes the Packet passed in the constructor TODO clean up the mess with the temp buffers. A.S.
-
serialize
-
Encode the PHP object returned from the service call into a JSON string
-
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
-
serialize
-
-
serialize
-
-
serialize
-
Encode the PHP object returned from the service call into a JSON string
-
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
-
SESSION_FIELD_ROLES
-
the field in the session where the roles array is stored
-
setUp
-
Sets up the fixture, for example, opens a network connection.
-
setUp
-
Sets up the fixture, for example, opens a network connection.
-
setUp
-
Sets up the fixture, for example, opens a network connection.
-
setUp
-
Sets up the fixture, for example, opens a network connection.
-
setUp
-
Sets up the fixture, for example, opens a network connection.
-
setUp
-
Sets up the fixture, for example, opens a network connection.
-
setUp
-
Sets up the fixture, for example, opens a network connection.
-
SerializationTest.php
-
-
ServiceRouterTest.php
-
-
writeAmf3AnonymousObject
-
handles writing an anoynous object (stdClass) can also be a reference Also creates a bogus traits entry, as even an anonymous object has traits. In this way a reference to a class trait will have the right id.
-
writeAmf3Array
-
-
writeAmf3Array
-
-
writeAmf3Bool
-
Write a boolean (Amf3).
-
writeAmf3Bool
-
-
writeAmf3ByteArray
-
-
writeAmf3ByteArray
-
-
writeAmf3Data
-
-
writeAmf3Data
-
-
writeAmf3Date
-
-
writeAmf3Date
-
-
writeAmf3Int
-
Write an (un-)signed integer (Amf3).
-
writeAmf3Null
-
-
writeAmf3Null
-
Write NULL (Amf3).
-
writeAmf3Number
-
-
writeAmf3Number
-
-
writeAmf3String
-
-
writeAmf3String
-
Write a string (Amf3). Strings are stored in a cache and in case the same string is written again, a reference to the string is sent instead of the string itself.
-
writeAmf3TypedObject
-
-
writeAmf3TypedObject
-
writes a typed object. Type is determined by having an "explicit type" field. If this field is not set, call writeAmf3AnonymousObject write all properties as sealed members.
-
writeAmf3Undefined
-
-
writeAmf3Undefined
-
Write undefined (Amf3).
-
writeAmf3Xml
-
-
writeAmf3Xml
-
-
writeAmf3XmlDocument
-
-
writeAmf3XmlDocument
-
-
writeAnonymousObject
-
handles writing an anoynous object (stdClass) can also be a reference
-
writeArrayOrObject
-
-
writeArrayOrObject
-
writeArrayOrObject first determines if the PHP array contains all numeric indexes or a mix of keys. Then it either writes the array code (0x0A) or the object code (0x03) and then the associated data.
-
writeBoolean
-
-
writeBoolean
-
writeBoolean writes the boolean code (0x01) and the data to the output stream
-
writeByte
-
-
writeByte
-
writeByte writes a singe byte to the output stream 0-255 range
-
writeData
-
writeData checks to see if the type was declared and then either auto negotiates the type or relies on the user defined type to serialize the data into Amf
-
writeDate
-
-
writeDate
-
writeData writes the date code (0x0B) and the date value (milliseconds from 1 January 1970) to the output stream, along with an empty unsupported timezone
-
writeDouble
-
-
writeDouble
-
writeDouble takes a float as the input and writes it to the output stream.
-
writeInt
-
-
writeInt
-
writeInt takes an int and writes it as 2 bytes to the output stream 0-65535 range
-
writeLong
-
-
writeLong
-
writeLong takes an int, float or double and converts it to a 4 byte binary string and adds it to the output buffer
-
writeLongUtf
-
-
writeLongUtf
-
writeLongUTF will write a string longer than 65535 characters.
-
writeNull
-
-
writeNull
-
writeNull writes the null code (0x05) to the output stream
-
writeNumber
-
-
writeNumber
-
writeNumber writes the number code (0x00) and the numeric data to the output stream All numbers passed through remoting are floats.
-
writeObjectEnd
-
-
writeObjectEnd
-
writeObjectEnd writes the object end code (0x009) to the output stream
-
writeObjectFromArray
-
writeObjectFromArray handles writing a php array with string or mixed keys. It does not write the object code as that is handled by the writeArrayOrObject and this method is shared with the CustomClass writer which doesn't use the object code.
-
writePlainArray
-
Write a plain numeric array without anything fancy
-
writeReference
-
-
writeReference
-
-
writeString
-
writeString writes the string code (0x02) and the UTF8 encoded string to the output stream.
-
writeString
-
-
writeTypedObject
-
-
writeTypedObject
-
writeTypedObject takes an instance of a class and writes the variables defined in it to the output stream.
-
writeUndefined
-
writeUndefined writes the Undefined code (0x06) to the output stream
-
writeUndefined
-
-
writeUtf
-
writeUTF takes and input string, writes the length as an int and then appends the string to the output buffer
-
writeUtf
-
-
writeXML
-
writeXML writes the xml code (0x0F) and the XML string to the output stream
-
writeXML
-