Class Amfphp_Core_Amf_Constants

Description

constants relative to the Amf format

  • author: Ariel Sommeria-klein

Located in /Amfphp/Core/Amf/Constants.php (line 18)


	
			
Class Constant Summary
 CLIENT_FAILURE_METHOD = '/onStatus'
 CLIENT_SUCCESS_METHOD = '/onResult'
 CONTENT_TYPE = 'application/x-amf'
 CREDENTIALS_HEADER_NAME = 'Credentials'
 FIELD_EXPLICIT_TYPE = '_explicitType'
 FIELD_EXTERNALIZED_DATA = '_externalizedData'
Class Constants
AMF0_ENCODING = 0 (line 65)

amf0 encoding

AMF3_ENCODING = 3 (line 70)

amf3 encoding

CLIENT_FAILURE_METHOD = '/onStatus' (line 26)

The status method name

CLIENT_SUCCESS_METHOD = '/onResult' (line 22)

The success method name

CONTENT_TYPE = 'application/x-amf' (line 35)

The AMf content type, for use in the headers

CREDENTIALS_FIELD_PASSWORD = 'password' (line 60)

the password field in the credentials header

CREDENTIALS_FIELD_USERID = 'userid' (line 55)

the user id field in the credentials header

CREDENTIALS_HEADER_NAME = 'Credentials' (line 50)

this is the name of the credentials header. can be used for AS3, but is mostly AS2 only

DEFAULT_REQUEST_RESPONSE_URI = '/1' (line 31)

used when there is an error and the request response uri is not available

FIELD_EXPLICIT_TYPE = '_explicitType' (line 41)

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.

try to use this where possible, but it can't be everywhere because we would need to use ReflectionClass::hasProperty, and that is only with PHP 5.1

FIELD_EXTERNALIZED_DATA = '_externalizedData' (line 45)

if an object is marked as externalizable(AMF3 and later), this is where the externalized data goes.

Documentation generated on Mon, 23 Jan 2012 17:22:04 -0300 by phpDocumentor 1.4.3