Issues

ZF-2544: Add message type as argument to FlashMessenger.

Description

Currently you can't specify what type of message you're sending with the FlashMessenger in Zend_Controller. It's just a message.

I would like to be able to differentiate the messages I'm sending via FlashMessenger (e.g. error, warning, information, tip, etc.) so users can see more clearly what's going on. Therefore I propose to enhance the addMessage method of the FlashMessenger with an additional argument that allows setting the type of message.

Change: addMessage (string $message, string $namespace)

To: addMessage (string $message, string $message_type, string $namespace)

Comments

This issue duplicates ZF-1705

Please categorize/fix as needed.

Assigning to Ralph to evaluate and schedule.

Greetings All,

FYI, I've created a PriorityMessenger - please check it out and tell me what you think? http://emanaton.com/code/php/zendprioritymessenger

Regards,

Sean P. O. MacCath-Moran www.emanaton.com

Closing as duplicate of ZF-1705