On 22.11.2010, at 19:28, Fabien Potencier wrote:

> On 11/22/10 7:25 PM, Jordi Boggiano wrote:
>> On Mon, Nov 22, 2010 at 4:32 PM, Lukas Kahwe
>> Smith<[email protected]>  wrote:
>>> However in some cases you might prefer to show some flash messages
>>> closer to a specific form. In this case one would call hasFlash()
>>> followed by getFlash() to show the flash message in the given
>>> template. Since getFlash() by default removes the flash message it
>>> would not show up in a subsequent getFlashMessages() call.
> 
> getFlash() does not remove the message:
> 
> https://github.com/fabpot/symfony/blob/master/src/Symfony/Component/HttpFoundation/Session.php#L209


I know. Thats why I said "back to the drawing board" to say this is what I 
would like to have :)

Further up I said what I wanted to have changed in getFlash():

"- get the parameters for a flash key (which defaults to removing the flash 
message immediately, which can be disabled): getFlash()"

regards,
Lukas Kahwe Smith
[email protected]



-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" 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-devs?hl=en

Reply via email to