[TYPO3-core] RFC #11684: Add support for flash messages in the backend
Francois Suter
fsu-lists at cobweb.ch
Mon Aug 24 08:45:54 CEST 2009
Hi,
> Francois changed the visibility of method pushFlashMessage() to public
> to allow calls to template::renderFlashMessages()
> this doesn't work because in the first line of the method
> $this->getFlashMessagesFromSession() is called - and $this is obviously
> not present when the method is called statically.
That's not what I meant. I know I wrote
"template::renderFlashMessages()" but that didn't mean I wanted to call
this method statically. I just meant that making this method public
allowed it to be called directly from within a BE module, like:
$this->doc->renderFlashMessage()
Sorry if that was confusing.
Cheers
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
More information about the TYPO3-team-core
mailing list