Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix versionadded directive for the submit() and handleRequests() methods #2934

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

Merged
merged 1 commit into from
Sep 9, 2013
Merged
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
Diff view
7 changes: 5 additions & 2 deletions cookbook/form/direct_submit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
How to use the submit() Function to handle Form Submissions
===========================================================

.. versionadded::
Before Symfony 2.3, the ``submit`` method was known as ``bind``.
.. versionadded:: 2.3
The ``handleRequest()`` method was added in Symfony 2.3.

In Symfony 2.3, a new :method:`Symfony\Component\Form\FormInterface::handleRequest`
method was added, which makes handling form submissions easier than ever::
Expand Down Expand Up @@ -39,6 +39,9 @@ method was added, which makes handling form submissions easier than ever::
Calling Form::submit() manually
-------------------------------

.. versionadded:: 2.3
Before Symfony 2.3, the ``submit()`` method was known as ``bind()``.

In some cases, you want better control over when exactly your form is submitted
and what data is passed to it. Instead of using the
:method:`Symfony\Component\Form\FormInterface::handleRequest`
Expand Down