This repository was archived by the owner on Jan 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEvents.php
More file actions
executable file
·150 lines (137 loc) · 4.76 KB
/
Events.php
File metadata and controls
executable file
·150 lines (137 loc) · 4.76 KB
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
<?php
namespace EWZ\Bundle\FormBuilderBundle;
final class Events
{
/**
* The PRE_PERSIST event occurs prior to the persistence backend
* persisting the Form.
*
* This event allows you to modify the data in the Form prior
* to persisting occurring. The listener receives a
* EWZ\Bundle\FormBuilderBundle\Event\FormEvent instance.
*
* @var string
*/
const FORM_PRE_PERSIST = 'ewz_form_builder.form.pre_persist';
/**
* The POST_PERSIST event occurs after the persistence backend
* persisted the Form.
*
* This event allows you to notify users or perform other actions
* that might require the Form to be persisted before performing
* those actions. The listener receives a
* EWZ\Bundle\FormBuilderBundle\Event\FormEvent instance.
*
* @var string
*/
const FORM_POST_PERSIST = 'ewz_form_builder.form.post_persist';
/**
* The CREATE event occurs when the manager is asked to create
* a new instance of a Form.
*
* The listener receives a EWZ\Bundle\FormBuilderBundle\Event\FormEvent
* instance.
*
* @var string
*/
const FORM_CREATE = 'ewz_form_builder.form.create';
/**
* The PRE_PERSIST event occurs prior to the persistence backend
* persisting the Field.
*
* This event allows you to modify the data in the Field prior
* to persisting occurring. The listener receives a
* EWZ\Bundle\FieldBuilderBundle\Event\FieldEvent instance.
*
* @var string
*/
const FIELD_PRE_PERSIST = 'ewz_form_builder.field.pre_persist';
/**
* The POST_PERSIST event occurs after the persistence backend
* persisted the Field.
*
* This event allows you to notify users or perform other actions
* that might require the Field to be persisted before performing
* those actions. The listener receives a
* EWZ\Bundle\FieldBuilderBundle\Event\FieldEvent instance.
*
* @var string
*/
const FIELD_POST_PERSIST = 'ewz_form_builder.field.post_persist';
/**
* The CREATE event occurs when the manager is asked to create
* a new instance of a Field.
*
* The listener receives a EWZ\Bundle\FieldBuilderBundle\Event\FieldEvent
* instance.
*
* @var string
*/
const FIELD_CREATE = 'ewz_form_builder.field.create';
/**
* The PRE_PERSIST event occurs prior to the persistence backend
* persisting the Cell.
*
* This event allows you to modify the data in the Cell prior
* to persisting occurring. The listener receives a
* EWZ\Bundle\FormBuilderBundle\Event\CellEvent instance.
*
* @var string
*/
const CELL_PRE_PERSIST = 'ewz_form_builder.cell.pre_persist';
/**
* The POST_PERSIST event occurs after the persistence backend
* persisted the Cell.
*
* This event allows you to notify users or perform other actions
* that might require the Cell to be persisted before performing
* those actions. The listener receives a
* EWZ\Bundle\FormBuilderBundle\Event\CellEvent instance.
*
* @var string
*/
const CELL_POST_PERSIST = 'ewz_form_builder.cell.post_persist';
/**
* The CREATE event occurs when the manager is asked to create
* a new instance of a Cell.
*
* The listener receives a EWZ\Bundle\FormBuilderBundle\Event\CellEvent
* instance.
*
* @var string
*/
const CELL_CREATE = 'ewz_form_builder.cell.create';
/**
* The PRE_PERSIST event occurs prior to the persistence backend
* persisting the Asset.
*
* This event allows you to modify the data in the Asset prior
* to persisting occurring. The listener receives a
* EWZ\Bundle\FormBuilderBundle\Event\AssetEvent instance.
*
* @var string
*/
const ASSET_PRE_PERSIST = 'ewz_form_builder.asset.pre_persist';
/**
* The POST_PERSIST event occurs after the persistence backend
* persisted the Asset.
*
* This event allows you to notify users or perform other actions
* that might require the Asset to be persisted before performing
* those actions. The listener receives a
* EWZ\Bundle\FormBuilderBundle\Event\AssetEvent instance.
*
* @var string
*/
const ASSET_POST_PERSIST = 'ewz_form_builder.asset.post_persist';
/**
* The CREATE event occurs when the manager is asked to create
* a new instance of a Asset.
*
* The listener receives a EWZ\Bundle\FormBuilderBundle\Event\AssetEvent
* instance.
*
* @var string
*/
const ASSET_CREATE = 'ewz_form_builder.asset.create';
}