8000 Fixed the formatting of the table headers by javiereguiluz · Pull Request #3900 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Fixed the formatting of the table headers #3900

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
8000
Diff view
46 changes: 23 additions & 23 deletions components/form/form_events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ The ``FormEvents::PRE_SET_DATA`` event is dispatched at the beginning of the
:ref:`Form Events Information Table<component-form-event-table>`

+-----------------+-----------+
| **Data type** | **Value** |
+-----------------+-----------+
| Data type | Value |
10000 +=================+===========+
| Model data | ``null`` |
+-----------------+-----------+
| Normalized data | ``null`` |
Expand Down Expand Up @@ -99,8 +99,8 @@ the form.
:ref:`Form Events Information Table<component-form-event-table>`

+-----------------+------------------------------------------------------+
| **Data type** | **Value** |
+-----------------+------------------------------------------------------+
| Data type | Value |
+=================+======================================================+
| Model data | Model data injected into ``setData()`` |
+-----------------+------------------------------------------------------+
| Normalized data | Model data transformed using a model transformer |
Expand Down Expand Up @@ -141,8 +141,8 @@ It can be used to:
:ref:`Form Events Information Table<component-form-event-table>`

+-----------------+------------------------------------------+
| **Data type** | **Value** |
+-----------------+------------------------------------------+
| Data type | Value |
+=================+==========================================+
| Model data | Same as in ``FormEvents::POST_SET_DATA`` |
+-----------------+------------------------------------------+
| Normalized data | Same as in ``FormEvents::POST_SET_DATA`` |
Expand Down Expand Up @@ -171,8 +171,8 @@ It can be used to change data from the normalized representation of the data.
:ref:`Form Events Information Table<component-form-event-table>`

+-----------------+-------------------------------------------------------------------------------------+
| **Data type** | **Value** |
+-----------------+-------------------------------------------------------------------------------------+
| Data type | Value |
+=================+=====================================================================================+
| Model data | Same as in ``FormEvents::POST_SET_DATA`` |
+-----------------+-------------------------------------------------------------------------------------+
| Normalized data | Data from the request reverse-transformed from the request using a view transformer |
Expand Down Expand Up @@ -203,8 +203,8 @@ It can be used to fetch data after denormalization.
:ref:`Form Events Information Table<component-form-event-table>`

+-----------------+---------------------------------------------------------------+
| **Data type** | **Value** |
+-----------------+---------------------------------------------------------------+
| Data type | Value |
+=================+===============================================================+
| Model data | Normalized data reverse-transformed using a model transformer |
+-----------------+---------------------------------------------------------------+
| Normalized data | Same as in ``FormEvents::POST_SUBMIT`` |
Expand Down Expand Up @@ -242,19 +242,19 @@ processed.

.. _component-form-event-table:

+--------------------+-------------------------------+------------------+
| **Name** | ``FormEvents`` **Constant** | **Event's data** |
+--------------------+-------------------------------+------------------+
| form.pre_set_data | ``FormEvents::PRE_SET_DATA`` | Model data |
+--------------------+-------------------------------+------------------+
| form.post_set_data | ``FormEvents::POST_SET_DATA`` | Model data |
+--------------------+-------------------------------+------------------+
| form.pre_bind | ``FormEvents::PRE_SUBMIT`` | Request data |
+--------------------+-------------------------------+------------------+
| form.bind | ``FormEvents::SUBMIT`` | Normalized data |
+--------------------+-------------------------------+------------------+
| form.post_bind | ``FormEvents::POST_SUBMIT`` | View data |
+--------------------+-------------------------------+------------------+
+------------------------+-------------------------------+------------------+
| Name | ``FormEvents`` Constant | Event's data |
+========================+===============================+==================+
| ``form.pre_set_data`` | ``FormEvents::PRE_SET_DATA`` | Model data |
+------------------------+-------------------------------+------------------+
| ``form.post_set_data`` | ``FormEvents::POST_SET_DATA`` | Model data |
+------------------------+-------------------------------+------------------+
| ``form.pre_bind`` | ``FormEvents::PRE_SUBMIT`` | Request data |
+------------------------+-------------------------------+------------------+
| ``form.bind`` | ``FormEvents::SUBMIT`` | Normalized data |
+------------------------+-------------------------------+------------------+
| ``form.post_bind`` | ``FormEvents::POST_SUBMIT`` | View data |
+------------------------+-------------------------------+------------------+

.. versionadded:: 2.3

Expand Down
0