[FEATURE] Introduce service to handle multiple flash message queues 71/17571/8
authorAlexander Schnitzler <alex.schnitzler@typovision.de>
Thu, 17 Jan 2013 08:35:47 +0000 (09:35 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 25 Mar 2013 14:59:57 +0000 (15:59 +0100)
commit4d47e88e5b4faaecc9dcb5d12f22e1cfc57f2e32
treeeb7420ffb3788d426077683e87fe4607ec9bbe0a
parent3982b75477b0423bd28fce5ab795c8af71e656a9
[FEATURE] Introduce service to handle multiple flash message queues

Currently there is just one system wide flash message queue. This
unfortunetly leads to problems using flash messages in extbase as
one cannot address a subset of messages to a dedicated extension/
plugin/controller/action. To resolve this this patch introduces a
flash message service that handles multiple queues which falls
back to the known behaviour by default.

Releases: 6.1
Resolves: #44593
Change-Id: I445499f7936d51ddd5ee89fc537974685b1843c7
Reviewed-on: https://review.typo3.org/17571
Reviewed-by: Andreas Wolf
Reviewed-by: Stefan Neufeind
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Classes/Messaging/FlashMessageQueue.php
typo3/sysext/core/Classes/Messaging/FlashMessageService.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Messaging/FlashMessageQueueTest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Messaging/FlashMessageServiceTest.php [new file with mode: 0644]