Hi,
I need to load a template inside a batch script. In one case I need to
send an email and in one case I need to add some data to the database.
I guess for sending an email there is the sendEmail() method on the
controller. I guess when I am not sending an email I need to use
getAction()?
I presume in both cases I need to set attributes on the request object
in order to be able to pass in parameters?
sfContext::getInstance()->getRequest()->setAttribute('user', $user);
Is there any advice/tipps to take into account here?
regards,
Lukas
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---