Absolutely. In this case, I'd avise to use the attribute holder of the
request object:

sfContext::getInstance()->getRequest()->setParameter('foo', 'bar'); 

$foo = sfContext::getInstance()->getRequest()->setParameter('foo'); 

françois

-----Message d'origine-----
De : symfony-users@googlegroups.com [mailto:[EMAIL PROTECTED]
De la part de [EMAIL PROTECTED]
Envoyé : vendredi 16 mars 2007 09:09
À : symfony users
Objet : [symfony-users] Re: $GLOBAL


I'm sure the symfony way is to use ParameterHolder for that. And as far as i
know almost every class has one ( setAttribute() and
getAttribute() ) ...

Michael



On Mar 16, 8:45 am, [EMAIL PROTECTED] wrote:
> Hello,
>
> I know there are flash variables, but what about being able to pass 
> data  for the current request only from a filter to an action, or from 
> one action to another. Is there any symfony internal way to do this? 
> Or do I really need to use $GLOBAL?
>
> regards,
> Lukas
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.





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