hi. you can use a event handler adn the catch delete execution, e.g: class backendConfiguration extends sfApplicationConfiguration { public function configure() { $this->dispatcher->connect('admin.delete_object', array($this,'xmethod')); }
public function xmethod(sfEvent $event) { // do some stuff } } This should work... i think 2010/2/5 Darren884 <darren...@gmail.com> > Does anyone have any simple example code I can place into my objects > model to override this function? I need to add some stuff into it. > > -- > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to symfony-us...@googlegroups.com. > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.