-
Notifications
You must be signed in to change notification settings - Fork 0
/
FocusEvents.php
76 lines (68 loc) · 2.12 KB
/
FocusEvents.php
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
<?php
namespace MauticPlugin\MauticFocusBundle;
/**
* Class FocusEvents.
*
* Events available for MauticFocusBundle
*/
final class FocusEvents
{
/**
* The mautic.focus_pre_save event is dispatched right before a focus is persisted.
*
* The event listener receives a MauticPlugin\MauticFocusBundle\Event\FocusEvent instance.
*
* @var string
*/
const PRE_SAVE = 'mautic.focus_pre_save';
/**
* The mautic.focus_post_save event is dispatched right after a focus is persisted.
*
* The event listener receives a MauticPlugin\MauticFocusBundle\Event\FocusEvent instance.
*
* @var string
*/
const POST_SAVE = 'mautic.focus_post_save';
/**
* The mautic.focus_pre_delete event is dispatched before a focus is deleted.
*
* The event listener receives a MauticPlugin\MauticFocusBundle\Event\FocusEvent instance.
*
* @var string
*/
const PRE_DELETE = 'mautic.focus_pre_delete';
/**
* The mautic.focus_post_delete event is dispatched after a focus is deleted.
*
* The event listener receives a MauticPlugin\MauticFocusBundle\Event\FocusEvent instance.
*
* @var string
*/
const POST_DELETE = 'mautic.focus_post_delete';
/**
* The mautic.focus_token_replacent event is dispatched after a load content.
*
* The event listener receives a MauticPlugin\MauticFocusBundle\Event\FocusEvent instance.
*
* @var string
*/
const TOKEN_REPLACEMENT = 'mautic.focus_token_replacement';
/**
* The mautic.focus.on_campaign_trigger_action event is fired when the campaign action triggers.
*
* The event listener receives a
* Mautic\CampaignBundle\Event\CampaignExecutionEvent
*
* @var string
*/
const ON_CAMPAIGN_TRIGGER_ACTION = 'mautic.focus.on_campaign_trigger_action';
/**
* The mautic.focus.on_open event is dispatched when an focus is opened.
*
* The event listener receives a
* MauticPlugin\MauticFocusBundle\Event\FocusOpenEvent instance.
*
* @var string
*/
const FOCUS_ON_VIEW = 'mautic.focus.on_view';
}