D
D
Dmitry Khaperets2013-12-26 22:11:32
symfony
Dmitry Khaperets, 2013-12-26 22:11:32

Symfony 2: Building a form with related entities

Example: There are three related entities: posts, comments, replies to comments.
Approximate connection: Post[comments] -> Comment[answers] -> Answer
Question: How to make a form in which you can edit / add comments and answers to them?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Khaperets, 2013-12-27
@Khaperets

Clarification: I need a hint on how to use Form\Type (FormBuilderInterface, AbstractType) to make a connection between these three entities so that the template can use loop and form_row to display the edit elements of the data described above.

J
JekaRu, 2013-12-29
@JekaRu

What's the catch?
Show how you are trying to do now?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question