Spaces:
No application file
No application file
File size: 8,050 Bytes
d2897cd |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
<?php
namespace Mautic\CampaignBundle;
/**
* Events available for CampaignBundle.
*/
final class CampaignEvents
{
/**
* The mautic.campaign_pre_save event is dispatched right before a form is persisted.
*
* The event listener receives a
* Mautic\CampaignBundle\Event\CampaignEvent instance.
*
* @var string
*/
public const CAMPAIGN_PRE_SAVE = 'mautic.campaign_pre_save';
/**
* The mautic.campaign_post_save event is dispatched right after a form is persisted.
*
* The event listener receives a
* Mautic\CampaignBundle\Event\CampaignEvent instance.
*
* @var string
*/
public const CAMPAIGN_POST_SAVE = 'mautic.campaign_post_save';
/**
* The mautic.campaign_pre_delete event is dispatched before a form is deleted.
*
* The event listener receives a
* Mautic\CampaignBundle\Event\CampaignEvent instance.
*
* @var string
*/
public const CAMPAIGN_PRE_DELETE = 'mautic.campaign_pre_delete';
/**
* The mautic.campaign_post_delete event is dispatched after a form is deleted.
*
* The event listener receives a
* Mautic\CampaignBundle\Event\CampaignEvent instance.
*
* @var string
*/
public const CAMPAIGN_POST_DELETE = 'mautic.campaign_post_delete';
/**
* The mautic.on_campaign_delete event is dispatched when a campaign is deleted.
*
* The event listener receives a Mautic\CampaignBundle\Event\DeleteCampaign instance.
*
* @var string
*/
public const ON_CAMPAIGN_DELETE = 'mautic.on_campaign_delete';
/**
* The mautic.campaign_on_build event is dispatched before displaying the campaign builder form to allow adding of custom actions.
*
* The event listener receives a
* Mautic\CampaignBundle\Event\CampaignBuilderEvent instance.
*
* @var string
*/
public const CAMPAIGN_ON_BUILD = 'mautic.campaign_on_build';
/**
* The mautic.campaign_on_trigger event is dispatched from the mautic:campaign:trigger command.
*
* The event listener receives a
* Mautic\CampaignBundle\Event\CampaignTriggerEvent instance.
*
* @var string
*/
public const CAMPAIGN_ON_TRIGGER = 'mautic.campaign_on_trigger';
/**
* The mautic.campaign_on_leadchange event is dispatched when a lead was added or removed from the campaign.
*
* The event listener receives a
* Mautic\CampaignBundle\Event\CampaignLeadChangeEvent instance.
*
* @var string
*/
public const CAMPAIGN_ON_LEADCHANGE = 'mautic.campaign_on_leadchange';
/**
* The mautic.campaign_on_leadchange event is dispatched if a batch of leads are changed from CampaignModel::rebuildCampaignLeads().
*
* The event listener receives a
* Mautic\CampaignBundle\Event\CampaignLeadChangeEvent instance.
*
* @var string
*/
public const LEAD_CAMPAIGN_BATCH_CHANGE = 'mautic.lead_campaign_batch_change';
/**
* The mautic.campaign_on_event_executed event is dispatched when a campaign event is executed.
*
* The event listener receives a Mautic\CampaignBundle\Event\ExecutedEvent instance.
*
* @var string
*/
public const ON_EVENT_EXECUTED = 'mautic.campaign_on_event_executed';
/**
* The mautic.on_event_delete event is dispatched when a campaign events are deleted.
*
* The event listener receives a Mautic\CampaignBundle\Event\DeleteEvent instance.
*
* @var string
*/
public const ON_EVENT_DELETE = 'mautic.on_event_delete';
/**
* The mautic.on_after_events_delete event is dispatched when a campaign events are deleted.
*
* The event listener receives a Mautic\CampaignBundle\Event\DeleteEvent instance.
*
* @var string
*/
public const ON_AFTER_EVENTS_DELETE = 'mautic.on_after_events_delete';
/**
* The mautic.campaign_on_event_executed_batch event is dispatched when a batch of campaign events are executed.
*
* The event listener receives a Mautic\CampaignBundle\Event\ExecutedBatchEvent instance.
*
* @var string
*/
public const ON_EVENT_EXECUTED_BATCH = 'mautic.campaign_on_event_executed_batch';
/**
* The mautic.campaign_on_event_scheduled event is dispatched when a campaign event is scheduled or scheduling is modified.
*
* The event listener receives a Mautic\CampaignBundle\Event\ScheduledEvent instance.
*
* @var string
*/
public const ON_EVENT_SCHEDULED = 'mautic.campaign_on_event_scheduled';
/**
* The mautic.campaign_on_event_scheduled_batch event is dispatched when a batch of events are scheduled at once.
*
* The event listener receives a Mautic\CampaignBundle\Event\ScheduledBatchEvent instance.
*
* @var string
*/
public const ON_EVENT_SCHEDULED_BATCH = 'mautic.campaign_on_event_scheduled_batch';
/**
* The mautic.campaign_on_event_failed event is dispatched when an event fails for whatever reason.
*
* The event listener receives a Mautic\CampaignBundle\Event\FailedEvent instance.
*
* @var string
*/
public const ON_EVENT_FAILED = 'mautic.campaign_on_event_failed';
/**
* The mautic.campaign_on_event_decision_evaluation event is dispatched when a campaign decision is to be evaluated.
*
* The event listener receives a Mautic\CampaignBundle\Event\DecisionEvent instance.
*
* @var string
*/
public const ON_EVENT_DECISION_EVALUATION = 'mautic.campaign_on_event_decision_evaluation';
/**
* The mautic.campaign_on_event_decision_evaluation_results event is dispatched when a batch of contacts were evaluted for a decision.
*
* The event listener receives a Mautic\CampaignBundle\Event\DecisionBatchEvent instance.
*
* @var string
*/
public const ON_EVENT_DECISION_EVALUATION_RESULTS = 'mautic.campaign_on_event_decision_evaluation_results';
/**
* The mautic.campaign_on_event_decision_evaluation event is dispatched when a campaign decision is to be evaluated.
*
* The event listener receives a Mautic\CampaignBundle\Event\DecisionEvent instance.
*
* @var string
*/
public const ON_EVENT_CONDITION_EVALUATION = 'mautic.campaign_on_event_decision_evaluation';
/**
* The mautic.campaign_on_event_jump_to_event event is dispatched when a campaign jump to event is triggered.
*
* The event listener receives a Mautic\CampaignBundle\Event\PendingEvent instance.
*
* @var string
*/
public const ON_EVENT_JUMP_TO_EVENT = 'mautic.campaign_on_event_jump_to_event';
/**
* The mautic.lead.on_campaign_action_change_membership event is dispatched when the campaign action to change a contact's membership is executed.
*
* The event listener receives a Mautic\CampaignBundle\Event\PendingEvent
*
* @var string
*/
public const ON_CAMPAIGN_ACTION_CHANGE_MEMBERSHIP = 'mautic.lead.on_campaign_action_change_membership';
/**
* @deprecated 2.13.0; to be removed in 3.0. Listen to ON_EVENT_EXECUTED and ON_EVENT_FAILED
*
* The mautic.campaign_on_event_execution event is dispatched when a campaign event is executed.
*
* The event listener receives a Mautic\CampaignBundle\Event\CampaignExecutionEvent instance.
*
* @var string
*/
public const ON_EVENT_EXECUTION = 'mautic.campaign_on_event_execution';
/**
* @deprecated 2.13.0; to be removed in 3.0; Listen to ON_EVENT_DECISION_EVALUATION instead
*
* The mautic.campaign_on_event_decision_trigger event is dispatched after a lead decision triggers a set of actions or if the decision is set
* as a root level event.
*
* The event listener receives a Mautic\CampaignBundle\Event\CampaignDecisionEvent instance.
*
* @var string
*/
public const ON_EVENT_DECISION_TRIGGER = 'mautic.campaign_on_event_decision_trigger';
}
|