Project

General

Profile

Actions

Bug #27367

closed

t3lib_FlashMessage: separate mapping of severity to message-classes from HTML-rendering

Added by Stefan Neufeind almost 13 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-06-10
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Blocks TYPO3 Core - Feature #7098: $flashMessages should have a condition ...Closed2010-04-01

Actions
Actions #1

Updated by Mr. Hudson almost 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

Actions #2

Updated by Stefan Neufeind almost 13 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
Actions #3

Updated by Ingo Renner almost 13 years ago

shouldn't the method have better be named getCssClass()? getClass() can be misleading in terms of OOP...

Actions #4

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF