Bug #27367
closedt3lib_FlashMessage: separate mapping of severity to message-classes from HTML-rendering
100%
Description
The "message-class" is determined from the severity inside render() when rendering HTML, which also renders a <div> around and can usually just be used to render a single message.
Extbase/fluid-issue #7098 brought up the idea of separating out a getClass()-functionality from the actual rendering. Since over there meanwhile t3lib_FlashMessage() is used, the idea is now to implement this part of the solution right there - in t3lib.
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change Ic8994aebaf4c1c22919054b7a6720b51bdcbc4c5 has been pushed to the review server.
It is available at http://review.typo3.org/2646
Updated by Stefan Neufeind over 13 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset 82fa070cedf15308fe18a73b6d58205bcfcf50d6.
Updated by Ingo Renner over 13 years ago
shouldn't the method have better be named getCssClass()? getClass() can be misleading in terms of OOP...