Re: [symfony-users] Symfony2 workflow with model in controller

2011-04-16 Thread Christophe COEVOET
Le 14/04/2011 08:15, noRerih a écrit : Hi all, I use Sf2 vPR11 and have just created database, generated entity, created schema. Now the question is: how can I access and manipulate model from controller? Official docs (http://symfony.com/doc/2.0/book/doctrine/orm/ overview.html) provide followi

[symfony-users] Symfony2 workflow with model in controller

2011-04-16 Thread noRerih
Hi all, I use Sf2 vPR11 and have just created database, generated entity, created schema. Now the question is: how can I access and manipulate model from controller? Official docs (http://symfony.com/doc/2.0/book/doctrine/orm/ overview.html) provide following example: $user = new User();