Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Update forms.rst#3409

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
weaverryan merged 4 commits intosymfony:2.3fromkuusas:patch-1
Jan 7, 2014
Merged

Update forms.rst#3409

weaverryan merged 4 commits intosymfony:2.3fromkuusas:patch-1
Jan 7, 2014

Conversation

kuusas
Copy link
Contributor

Accessing form values viavars property instead of getter. Updated PHP templating examples.

Accessing form values via `vars` property instead of getter. Updated PHP templating examples.
Accessing form values via `vars` property instead of getter. Updated PHP templating examples.
@kuusas
Copy link
ContributorAuthor

Fixed typo.

@@ -890,7 +890,7 @@ to get the ``id``:

.. code-block:: html+php

<?php echo $form['task']->get('id')?>
<?php echo $form['task']['vars']['id']?>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

this should be->vars, not['vars'], otherwise you are not accessing the variables of the FormView, but retrieving the child form namedvars

@kuusas
Copy link
ContributorAuthor

Whoops. fixed.

weaverryan added a commit that referenced this pull requestJan 7, 2014
@weaverryanweaverryan merged commit3a2f53d intosymfony:2.3Jan 7, 2014
@weaverryan
Copy link
Member

Thanks Zilvinas! Great fix - easy merge!

Cheers!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@kuusas@weaverryan@stof

[8]ページ先頭

©2009-2025 Movatter.jp