[TASK] Add FlashMessage API to Extbase AbstractController 31/25731/6
authorNico de Haen <mail@ndh-websolutions.de>
Thu, 28 Nov 2013 16:56:49 +0000 (17:56 +0100)
committerSteffen Müller <typo3@t3node.com>
Thu, 16 Jan 2014 13:31:51 +0000 (14:31 +0100)
commit401699ac1a8b368db5c5c3903272358ba818aefb
tree3ea6f86f7c76837407658eaa435d9b42f3ce45a2
parentc24548355ed2e4ee72a8bf163e9c3271ee10301b
[TASK] Add FlashMessage API to Extbase AbstractController

Flow comes with an API in AbstractController to add FlashMessages.
Introducing this API to Extbase provides a convenient way to
add new FlashMessages to the queue.
Usage in your controller: $this->addFlashMessage();

Resolves: #54036
Releases: 6.2
Change-Id: I3f6b69597d7f972054c5081d1f9e20d65b598848
Reviewed-on: https://review.typo3.org/25731
Reviewed-by: Benjamin Mack
Reviewed-by: Marcin S?gol
Tested-by: Marcin S?gol
Reviewed-by: Steffen Müller
Tested-by: Steffen Müller
typo3/sysext/extbase/Classes/Mvc/Controller/AbstractController.php
typo3/sysext/extbase/Classes/Mvc/Controller/FlashMessageContainer.php
typo3/sysext/extbase/Tests/Unit/Mvc/Controller/AbstractControllerTest.php