> but is it possible to get request parameter inside the model layer? No, MVC doesn't allow the model to know the scenario (or the use case) and thus where from some specific information is coming. In principle only the action (the "C" controller part in MVC) knows about the specific scenario and thus knows which information needs to be passed from where to where... typically from V (view) to M (model), and vice-versa.
> if yes, what is the proper syntax As Eno said, typically the action does set the userID to the model, e.g.: // apps/yourApp/yourModule/actions.php: $yourObject->setUserId($id); and then overriding the save() method is not needed anymore. > > > //model/actions.php BTW seeing this: take care not to confuse models and modules. -RAPHAEL -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en