-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathRecommenderEvents.php
95 lines (85 loc) · 3.13 KB
/
RecommenderEvents.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?php
/*
* @copyright 2014 Mautic Contributors. All rights reserved
* @author Mautic
*
* @link http://mautic.org
*
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
namespace MauticPlugin\MauticRecommenderBundle;
/**
* Class RecommenderEvent
* Events available for MauticRecommenderBundle.
*/
final class RecommenderEvents
{
/**
* The mautic.recommender_pre_save event is thrown right before a asset is persisted.
*
* The event listener receives a
* MauticPlugin\MauticRecommenderBundle\Event\RecommenderEvent instance.
*
* @var string
*/
const PRE_SAVE = 'mautic.recommender_pre_save';
/**
* The mautic.recommender_post_save event is thrown right after a asset is persisted.
*
* The event listener receives a
* MauticPlugin\MauticRecommenderBundle\Event\RecommenderEvent instance.
*
* @var string
*/
const POST_SAVE = 'mautic.recommender_post_save';
/**
* The mautic.recommender_pre_delete event is thrown prior to when a asset is deleted.
*
* The event listener receives a
* MauticPlugin\MauticRecommenderBundle\Event\RecommenderEvent instance.
*
* @var string
*/
const PRE_DELETE = 'mautic.recommender_pre_delete';
/**
* The mautic.recommender_post_delete event is thrown after a asset is deleted.
*
* The event listener receives a
* MauticPlugin\MauticRecommenderBundle\Event\RecommenderEvent instance.
*
* @var string
*/
const POST_DELETE = 'mautic.recommender_post_delete';
/**
* The mautic.email.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.plugin.recommender.on_campaign_trigger_action';
/**
* The mautic.email.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_CONDITION = 'mautic.plugin.recommender.on_campaign_trigger_condition';
/**
* The mautic.plugin.recommender.on_campaign_trigger_decision event is fired when the campaign decision is fired.
*
* The event listener receives a
* Mautic\CampaignBundle\Event\CampaignExecutionEvent
*
* @var string
*/
const ON_CAMPAIGN_TRIGGER_DECISION = 'mautic.plugin.recommender.on_campaign_trigger_decision';
const ON_RECOMMENDER_FORM_FILTER_GENERATE = 'mautic.plugin.recommender.in_filter_form_display';
const ON_RECOMMENDER_FILTER_FORM_CHOICES_GENERATE = 'mautic.plugin.recommender.in_filter_form_choices_generate';
const ON_RECOMMENDER_FILTER_RESULTS = 'mautic.plugin.recommender.filter_results';
const ON_RECOMMENDER_EVENT_SENT = 'mautic.plugin.recommender.before_send_event';
const LIST_FILTERS_ON_FILTERING = 'mautic.plugin.recommender.filters_filtering';
}