2009/5/5 Ian P. Christian <poo...@pookey.co.uk>:
> I think that the admin gen might benefit from a presave event to hook into.
>
> I could move my logic into the Domain, but I don't think it belongs
> there for my use case.

I've solved this for now by adding a preInsert() hook which fires an
event via sfDispatcher, but this is coupling my model to the
dispatcher, which I'm not overly happy with.

-- 
Blog: http://pookey.co.uk/blog
Follow me on twitter: http://twitter.com/ipchristian

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to