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

Create data_class.rst.inc #2362#3334

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

Closed
dpcat237 wants to merge5 commits intosymfony:2.4fromdpcat237:patch-1
Closed

Create data_class.rst.inc #2362#3334

dpcat237 wants to merge5 commits intosymfony:2.4fromdpcat237:patch-1

Conversation

dpcat237
Copy link
Contributor

QA
Doc fix?yes
New docs?no
Applies to2.3+
Fixed tickets#2362

Create data_class documentation.
@doriansdorians mentioned this pull requestDec 14, 2013
15 tasks
$builder->add('media', 'sonata_media_type', array(
'data_class' => 'Acme\DemoBundle\Entity\Media',
));

Copy link
Member

Choose a reason for hiding this comment

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

remove this empty line

@wouterj
Copy link
Member

As I already said on your other PR, this option has to be included in some relevant form type docs

@dpcat237
Copy link
ContributorAuthor

@wouterj Do I have to do something else in this pull request?

@wouterj
Copy link
Member

@dpcat237 we can also add this option to the base Form type, as it also exists there.

@@ -0,0 +1,11 @@
data_class
Copy link
Member

Choose a reason for hiding this comment

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

you should add a versionadded directive before this line:

..versionadded::2.4    The ``data_class`` option was introduced in Symfony 2.4.

Copy link
Member

Choose a reason for hiding this comment

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

But this isn't correct, right? Thedata_class option has always existed.

Copy link
Member

Choose a reason for hiding this comment

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

weaverryan pushed a commit that referenced this pull requestJan 1, 2014
weaverryan pushed a commit that referenced this pull requestJan 1, 2014
@weaverryan
Copy link
Member

Thanks Denys! I've patched this into the 2.3 branch at sha:00f4d31.

Nice work with this and thanks for hanging out with us on the Hack Day :).

Cheers!

xabbuh added a commit to xabbuh/symfony-docs that referenced this pull requestJan 3, 2014
weaverryan added a commit that referenced this pull requestJan 9, 2014
…bbuh)This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes#3415).Discussion----------[#3334] the data_class option was not introduced in 2.4| Q             | A| ------------- | ---| Doc fix?      | yes| New docs?     | no| Applies to    | all| Fixed tickets |Commits-------c96e6eb [#3334] the data_class option was not introduced in 2.4
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
@dpcat237@wouterj@weaverryan

[8]ページ先頭

©2009-2025 Movatter.jp