Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Ref #3903 - Normalize methods listings #4550

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 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Ref #3903 - new list normalized
  • Loading branch information
ternel committed Dec 21, 2014
commit 0912b19ee7002ef81fcda4511bc5599fefa732e8
23 changes: 13 additions & 10 deletions 23 book/forms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -167,16 +167,19 @@ helper functions:

That's it! Just three lines are needed to render the complete form:

* ``form_start(form)`` - Renders the start tag of the form, including the
correct enctype attribute when using file uploads;

* ``form_widget(form)`` - Renders all of the fields, which includes the field
element itself, a label and any validation error messages for the field;

* ``form_end()`` - Renders the end tag of the form and any fields that have not
yet been rendered, in case you rendered each field yourself. This is useful
for rendering hidden fields and taking advantage of the automatic
:ref:`CSRF Protection <forms-csrf>`.
``form_start(form)``
Renders the start tag of the form, including the correct enctype attribute
when using file uploads.

``form_widget(form)``
Renders all of the fields, which includes the field element itself, a label
and any validation error messages for the field.

``form_end()``
Renders the end tag of the form and any fields that have not
yet been rendered, in case you rendered each field yourself. This is useful
for rendering hidden fields and taking advantage of the automatic
:ref:`CSRF Protection <forms-csrf>`.

.. seealso::

Expand Down
1 change: 0 additions & 1 deletion 1 components/http_foundation/sessions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ an array. A few methods exist for "Bag" management:
Session Metadata
................


:method:`Symfony\\Component\\HttpFoundation\\Session\\Session::getMetadataBag`
Gets the :class:`Symfony\\Component\\HttpFoundation\\Session\\Storage\\MetadataBag`
which contains information about the session.
Expand Down
6 changes: 3 additions & 3 deletions 6 cookbook/security/custom_authentication_provider.rst
Original file line number Diff line number Diff line change
Expand Up @@ -335,15 +335,15 @@ requires the following methods:

``create``
Method which adds the listener and authentication provider
to the DI container for the appropriate security context;
to the DI container for the appropriate security context.

``getPosition``
Method which must be of type ``pre_auth``, ``form``, ``http``,
and ``remember_me`` and defines the position at which the provider is called;
and ``remember_me`` and defines the position at which the provider is called.

``getKey``
Method which defines the configuration key used to reference
the provider in the firewall configuration;
the provider in the firewall configuration.

``addConfiguration``
Method which is used to define the configuration
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.