@@ -62,8 +62,8 @@ The ``FormEvents::PRE_SET_DATA`` event is dispatched at the beginning of the
6262:ref: `Form Events Information Table<component-form-event-table> `
6363
6464+-----------------+-----------+
65- | ** Data type ** | ** Value ** |
66- +-----------------+----------- +
65+ | Data type| Value|
66+ +=================+=========== +
6767| Model data| ``null ``|
6868+-----------------+-----------+
6969| Normalized data| ``null ``|
@@ -99,8 +99,8 @@ the form.
9999:ref: `Form Events Information Table<component-form-event-table> `
100100
101101+-----------------+------------------------------------------------------+
102- | ** Data type ** | ** Value ** |
103- +-----------------+------------------------------------------------------ +
102+ | Data type| Value|
103+ +=================+====================================================== +
104104| Model data| Model data injected into ``setData() ``|
105105+-----------------+------------------------------------------------------+
106106| Normalized data| Model data transformed using a model transformer|
@@ -110,6 +110,9 @@ the form.
110110
111111..sidebar ::``FormEvents::POST_SET_DATA`` in the Form component
112112
113+ ..versionadded ::2.4
114+ The data collector extension was introduced in Symfony 2.4.
115+
113116 The:class: `Symfony\\ Component\\ Form\\ Extension\\ DataCollector\\ EventListener\\ DataCollectorListener `
114117 class is subscribed to listen to the ``FormEvents::POST_SET_DATA `` event
115118 in order to collect information about the forms from the denormalized
@@ -141,8 +144,8 @@ It can be used to:
141144:ref: `Form Events Information Table<component-form-event-table> `
142145
143146+-----------------+------------------------------------------+
144- | ** Data type ** | ** Value ** |
145- +-----------------+------------------------------------------ +
147+ | Data type| Value|
148+ +=================+========================================== +
146149| Model data| Same as in ``FormEvents::POST_SET_DATA ``|
147150+-----------------+------------------------------------------+
148151| Normalized data| Same as in ``FormEvents::POST_SET_DATA ``|
@@ -171,8 +174,8 @@ It can be used to change data from the normalized representation of the data.
171174:ref: `Form Events Information Table<component-form-event-table> `
172175
173176+-----------------+-------------------------------------------------------------------------------------+
174- | ** Data type ** | ** Value ** |
175- +-----------------+------------------------------------------------------------------------------------- +
177+ | Data type| Value|
178+ +=================+===================================================================================== +
176179| Model data| Same as in ``FormEvents::POST_SET_DATA ``|
177180+-----------------+-------------------------------------------------------------------------------------+
178181| Normalized data| Data from the request reverse-transformed from the request using a view transformer|
@@ -203,8 +206,8 @@ It can be used to fetch data after denormalization.
203206:ref: `Form Events Information Table<component-form-event-table> `
204207
205208+-----------------+---------------------------------------------------------------+
206- | ** Data type ** | ** Value ** |
207- +-----------------+--------------------------------------------------------------- +
209+ | Data type| Value|
210+ +=================+=============================================================== +
208211| Model data| Normalized data reverse-transformed using a model transformer|
209212+-----------------+---------------------------------------------------------------+
210213| Normalized data| Same as in ``FormEvents::POST_SUBMIT ``|
@@ -218,6 +221,9 @@ It can be used to fetch data after denormalization.
218221
219222..sidebar ::``FormEvents::POST_SUBMIT`` in the Form component
220223
224+ ..versionadded ::2.4
225+ The data collector extension was introduced in Symfony 2.4.
226+
221227 The:class: `Symfony\\ Component\\ Form\\ Extension\\ DataCollector\\ EventListener\\ DataCollectorListener `
222228 subscribes to the ``FormEvents::POST_SUBMIT `` event in order to collect
223229 information about the forms.
@@ -242,19 +248,19 @@ processed.
242248
243249.. _component-form-event-table :
244250
245- +--------------------+-------------------------------+------------------+
246- | ** Name ** | ``FormEvents ``** Constant ** | ** Event's data ** |
247- +--------------------+-------------------------------+------------------ +
248- | form.pre_set_data| ``FormEvents::PRE_SET_DATA ``| Model data|
249- +--------------------+-------------------------------+------------------+
250- | form.post_set_data| ``FormEvents::POST_SET_DATA ``| Model data|
251- +--------------------+-------------------------------+------------------+
252- | form.pre_bind| ``FormEvents::PRE_SUBMIT ``| Request data|
253- +--------------------+-------------------------------+------------------+
254- | form.bind| ``FormEvents::SUBMIT ``| Normalized data|
255- +--------------------+-------------------------------+------------------+
256- | form.post_bind| ``FormEvents::POST_SUBMIT ``| View data|
257- +--------------------+-------------------------------+------------------+
251+ +------------------------ +-------------------------------+------------------+
252+ | Name| ``FormEvents `` Constant| Event's data|
253+ +========================+===============================+================== +
254+ | `` form.pre_set_data `` | ``FormEvents::PRE_SET_DATA ``| Model data|
255+ +------------------------ +-------------------------------+------------------+
256+ | `` form.post_set_data `` | ``FormEvents::POST_SET_DATA ``| Model data|
257+ +------------------------ +-------------------------------+------------------+
258+ | `` form.pre_bind `` | ``FormEvents::PRE_SUBMIT ``| Request data|
259+ +------------------------ +-------------------------------+------------------+
260+ | `` form.bind `` | ``FormEvents::SUBMIT ``| Normalized data|
261+ +------------------------ +-------------------------------+------------------+
262+ | `` form.post_bind `` | ``FormEvents::POST_SUBMIT ``| View data|
263+ +------------------------ +-------------------------------+------------------+
258264
259265..versionadded ::2.3
260266