constants relative to the Amf format

package Amfphp_Core_Amf
author Ariel Sommeria-klein

 Constants

 

amf0 encoding

AMF0_ENCODING 
 

amf3 encoding

AMF3_ENCODING 
 

The status method name

CLIENT_FAILURE_METHOD 
 

The success method name

CLIENT_SUCCESS_METHOD 
 

The AMf content type, for use in the headers

CONTENT_TYPE 
 

the password field in the credentials header

CREDENTIALS_FIELD_PASSWORD 
 

the user id field in the credentials header

CREDENTIALS_FIELD_USERID 
 

this is the name of the credentials header.

CREDENTIALS_HEADER_NAME 

can be used for AS3, but is mostly AS2 only

 

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

DEFAULT_REQUEST_RESPONSE_URI 
 

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_EXPLICIT_TYPE 

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

 

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

FIELD_EXTERNALIZED_DATA