You can pass object in routing.
for example:
comment:
url: /comment/:name/:date.:sf_format
class: sfDoctrineRoute
param: { module: comment, action: anyAction }
options: { model: YourClass, type: object }
In action :
you will get
$this->comment = $this->getRoute()->getObject();
Good lu
Hi folks,
I am using the symfony 1.4,
Is there any way to get the form field value before binding the form?
What is the best way to edit the form without passing the ID parameter
in URL?
Thanks
-Imran
--
If you want to report a vulnerability issue on symfony, please send it to
security