[TYPO3-mvc] How to replace deprecated method FlashMessageContainer->add()

Steffen Müller typo3 at t3node.com
Sun Jan 19 23:40:22 CET 2014


Hi.

On 19.01.2014 14:10 Dirk Wenzel wrote:
> Great! I was just about to add this method to my abstract controller
> class. Now I can make it fit the 6.2 method (and make it available under
> 6.1 too).

Add it as a public method. This ensures your extension works in 6.1 and
6.2 in parallel. Otherwise you could end up in PHP Fatal errors
PHP Fatal error:  Access level to BlogController::addFlashMessage() must
be public



-- 
cheers,
Steffen

Active Contributor TYPO3 CMS

TYPO3 Blog: http://www.t3node.com/
Twitter: @t3node - http://twitter.com/t3node


More information about the TYPO3-project-typo3v4mvc mailing list