[FEATURE] Severity-filtering for FlashMessageQueue 41/32941/8
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Tue, 23 Sep 2014 13:38:05 +0000 (15:38 +0200)
committerAndreas Wolf <andreas.wolf@typo3.org>
Wed, 5 Aug 2015 21:25:00 +0000 (23:25 +0200)
commitdda6bcea5048f16ef63a3b15c10bb86a6725a4fb
treedc76996b5a37b2ab82c4a2254a7aebe4972456ac
parent2493308e758cd112bf4ac094c22bea261e13a503
[FEATURE] Severity-filtering for FlashMessageQueue

This allows to fetch/clear only messages of a given
severity. FlashMessageContainer in TYPO3.Flow
offers similar functionality.

This is the basis for later extending the
FlashMessageViewHelper as well to only show messages
of a certain level.

Change-Id: Ibb84b5aa051be3a350cd97ae5c5058290748d4fe
Resolves: #7098
Releases: master
Reviewed-on: http://review.typo3.org/32941
Reviewed-by: Cedric Ziel <cedric@cedric-ziel.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
typo3/sysext/core/Classes/Messaging/FlashMessageQueue.php
typo3/sysext/core/Documentation/Changelog/master/Feature-7098-SeverityFilteringForFlashMessageQueue.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Messaging/FlashMessageQueueTest.php