Symfony2 is an open source PHP web development framework for PHP 5.3.3+ focusing on easy and fast development cycles and including state-of-the-art design patterns and programming philosophies.

learn more… | top users | synonyms (1)

1
vote
1answer
63 views
+50

New forms - embedding a collection of forms - Symfony2

I'm doing the same as explained here: http://symfony.com/doc/current/cookbook/form/form_collections.html But in my case I want to add new "tags" not manually with clicking on a link, but ...
0
votes
0answers
29 views
+50

Using Symfony's Form Event to remove some of the data sent to a form

I have checkboxes and I want to find out the items with checked checkboxes and send only them to the database. So I made this: class NotNeededFieldsSubscriber implements EventSubscriberInterface { ...
1
vote
1answer
31 views
+50

Persist object with two foreign identities in doctrine

I have created an entity using the yml-syntax in my symfony bundle, in the Resources/config/doctrine folder: Sulu\Bundle\TranslateBundle\Entity\Translation: type: entity table: tr_translations id: ...