The Inx_Api_TriggerMailing_Descriptor_TimeTriggerOffsetType defines the possible types of Inx_Api_TriggerMailing_Descriptor_TimeTriggerOffsets.
The Inx_Api_TriggerMailing_Descriptor_TimeTriggerOffsetType defines the possible types of Inx_Api_TriggerMailing_Descriptor_TimeTriggerOffsets. A note for programmers who are not familiar with the concept of enumerations: Enumerations or enumerated types are basically a fixed set of named values. They are usually used to define a couple of legitimate values in a specific context and serve a purpose similar to integer constants. The advantage of enumerations is, that you cannot specify any "weird" values because every value has to be an instance of the enumerated type. It is also possible to associate data or even behaviour (methods) with the values. PHP does not support such a language feature like Java and C# do. In most languages the named values are a sort of constant whose value is an instance of the enumerated type. In PHP a constant cannot contain a reference type. Therefore, we implemented enumerations as classes with private constructor and methods which return the named values. Be aware that the objects returned by the static methods are always the same object. That way it is possible to use the identity operator (===) on these objects and use them comfortably in switch statements.
Located in /Api/TriggerMailing/Descriptor/TimeTriggerOffsetType.php (line 20)
Returns the TimeTriggerOffsetType corresponding to the given ID. UNKNOWN type will be used. code.
Returns the TimeTriggerOffsetType corresponding to the given ID. If the ID is unknown, the UNKNOWN type will be used. The ID is used for transmission purposes and should not be used inside client code.
Constant for positive offsets.
Constant for positive offsets.
Constant for an unknown offset type.
Constant for an unknown offset type. Indicates a version mismatch between API and server.
Returns an array containing all available TimeTriggerOffsetTypes including UNKNOWN.
Returns an array containing all available TimeTriggerOffsetTypes including UNKNOWN.
Constant for negative offsets.
Constant for negative offsets.
Returns the ID of the TimeTriggerOffsetType. not be used inside client code.
Returns the ID of the TimeTriggerOffsetType. The ID is used for transmission purposes and should not be used inside client code.
Documentation generated on Thu, 17 Sep 2015 14:27:32 +0200 by phpDocumentor 1.3.2