Symfony one to many relations (embedRelation)


In one of my recent gaming sites, I was trying to find a way to have one game fit in as many different categories.  I am still rather new at Symfony, and heck PHP programming in general, so the idea of setting this up myself was a bit overwhelming.  At least being able to manage it correctly in the backend.  The data structure, thanks to Doctrine, wasn’t that bad to setup.

Anyways, I found an awesome blog post talking about exactly what I wanted to do.  I followed this post step by step, doing slight modifications for my setup, and it worked perfectly!

Check it out here on di-side.com: http://di-side.com/di-side/symfony-embedrelation-one-to-many-doctrine-relations/

Be Sociable, Share!

Comments are closed.