Hi all,

I'm trying to integrate the Observer pattern into my symfony 1.0 app.
When an event occurs observers should be notified and react on it.

One observer class should react by sending a mail and thus I'd like to
forward the event to an action by calling

sfContext::getInstance()->getController()->sendEmail('mail',
'sendMail');

However I can't figure out how do make the event object accessible
from within the mailActions->executeSendMail method in a clean way.
How would you do it?

Thanks in advance,
Kasper
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to