The Inx_Api_TriggerMailing_Descriptor_TriggerType enumeration defines the different types of triggers. trigger types can be divided into two categories:
The Inx_Api_TriggerMailing_Descriptor_TriggerType enumeration defines the different types of triggers. The trigger types can be divided into two categories:
Action trigger mailings, on the other hand, are only sent if the associated action is executed. Be aware that the action cannot be defined by the trigger descriptor. Instead, the action contains a command (an Inx_Api_Action_SendMailCommand) which will send the mailing.
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/TriggerType.php (line 56)
Type constant for action mailings. Inx_Api_Action_SendMailCommand.
Type constant for action mailings. An action mailing is sent by the associated action using an Inx_Api_Action_SendMailCommand.
Returns the TriggerType corresponding to the given ID. be used.
Returns the TriggerType 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.
Type constant for anniversary trigger mailings. for which the day of the attribute matches the current day and was a fixed number of years, months or days ago.
Type constant for anniversary trigger mailings. An anniversary trigger mailing is sent every day to recipients for which the day of the attribute matches the current day and was a fixed number of years, months or days ago. The anniversary trigger is an attribute driven time trigger.
Type constant for birthday trigger mailings. the day of the attribute matches the current day.
Type constant for birthday trigger mailings. A birthday trigger mailing is sent every day to recipients for which the day of the attribute matches the current day. The birthday trigger is an attribute driven time trigger.
Type constant for follow up trigger mailing. which the date in the attribute matches the current date (only negative offset). attribute driven time trigger.
Type constant for follow up trigger mailing. A follow up trigger mailing is sent every day to recipients for which the date in the attribute matches the current date (only negative offset). the follow up trigger is an attribute driven time trigger.
Type constant for interval trigger mailings. associated list at a freely definable interval (e. TriggerInterval.
Type constant for interval trigger mailings. An interval trigger mailing is sent to all recipients in the associated list at a freely definable interval (e.g. hourly, daily, weekly,...). The interval is described by a TriggerInterval. The interval trigger is a time trigger but no attribute driven trigger.
Type constant for reminder trigger mailings. the date in the attribute matches the current date (only positive offset). driven time trigger.
Type constant for reminder trigger mailings. A reminder trigger mailing is sent every day to recipients for which the date in the attribute matches the current date (only positive offset). The reminder trigger is an attribute driven time trigger.
Type constant for an unknown trigger type.
Type constant for an unknown trigger type. Indicates a version mismatch between API and server.
Returns an array containing all available TriggerTypes including UNKNOWN.
Returns an array containing all available TriggerTypes including UNKNOWN.
Returns the ID of the TriggerType. inside client code.
Returns the ID of the TriggerType. The ID is used for transmission purposes and should not be used inside client code.
Returns a bool indicating whether the TriggerType is an attribute driven trigger type.
Returns a bool indicating whether the TriggerType is an attribute driven trigger type.
Returns a bool indicating whether the TriggerType is a time trigger type.
Returns a bool indicating whether the TriggerType is a time trigger type.
Documentation generated on Thu, 17 Sep 2015 14:27:34 +0200 by phpDocumentor 1.3.2