[TYPO3-core] RFC #12154: Improve flashmessages API
Bastian Waidelich
bastian at typo3.org
Fri Oct 9 10:38:13 CEST 2009
Ernesto Baschny [cron IT] wrote:
Hi,
> Please add some comment to the t3lib_MessageQueue::getMessages that it
> has the side effect of cleaning the messaged which were fetched (so that
> they can only be fetched once).
FYI in the FLOW3 version we have a method for retrieving "getAll()" and
one for retrieving and flushing the messages "getAllAndFlush()":
http://forge.typo3.org/repositories/entry/package-flow3/trunk/Classes/MVC/Controller/FlashMessageContainer.php
Maybe that is a bit more "explicit"!? (I didn't review the patch yet,
just an idea)
Thanks for the efforts!
Bastian
More information about the TYPO3-team-core
mailing list