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"
Class Constants
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 55)

the password field in the credentials header

CREDENTIALS_FIELD_USERID = "userid" (line 50)

the user id field in the credentials header

CREDENTIALS_HEADER_NAME = "Credentials" (line 45)

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 40)

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

Documentation generated on Thu, 24 Mar 2011 16:55:39 +0100 by phpDocumentor 1.4.3