\Amfphp_Core_Amf_Constants

constants relative to the Amf format

Summary

Methods
Properties
Constants
No public methods found
No public properties found
CLIENT_SUCCESS_METHOD
CLIENT_FAILURE_METHOD
DEFAULT_REQUEST_RESPONSE_URI
CONTENT_TYPE
FIELD_EXPLICIT_TYPE
FIELD_EXTERNALIZED_DATA
CREDENTIALS_HEADER_NAME
CREDENTIALS_FIELD_USERID
CREDENTIALS_FIELD_PASSWORD
AMF0_ENCODING
AMF3_ENCODING
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

CLIENT_SUCCESS_METHOD

CLIENT_SUCCESS_METHOD

The success method name

CLIENT_FAILURE_METHOD

CLIENT_FAILURE_METHOD

The status method name

DEFAULT_REQUEST_RESPONSE_URI

DEFAULT_REQUEST_RESPONSE_URI

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

CONTENT_TYPE

CONTENT_TYPE

The AMf content type, for use in the headers

FIELD_EXPLICIT_TYPE

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.

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

FIELD_EXTERNALIZED_DATA

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

CREDENTIALS_HEADER_NAME

CREDENTIALS_HEADER_NAME

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

CREDENTIALS_FIELD_USERID

CREDENTIALS_FIELD_USERID

the user id field in the credentials header

CREDENTIALS_FIELD_PASSWORD

CREDENTIALS_FIELD_PASSWORD

the password field in the credentials header

AMF0_ENCODING

AMF0_ENCODING

amf0 encoding

AMF3_ENCODING

AMF3_ENCODING

amf3 encoding