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

Issue Type: Improvement Created: 2008-02-01T08:19:59.000+0000 Last Updated: 2010-11-26T22:39:33.000+0000 Status: Resolved Fix version(s): Reporter: Taco Jung (tjung) Assignee: Marc Hodgins (mjh_ca) Tags: - Zend_Controller

Related issues: - ZF-1705



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)


Posted by Matthew Weier O'Phinney (matthew) on 2008-02-14T11:04:34.000+0000

This issue duplicates ZF-1705

Posted by Wil Sinclair (wil) on 2008-03-25T20:41:12.000+0000

Please categorize/fix as needed.

Posted by Matthew Weier O'Phinney (matthew) on 2008-04-22T13:39:51.000+0000

Assigning to Ralph to evaluate and schedule.

Posted by Sean P. O. MacCath-Moran (emanaton) on 2009-04-25T20:24:13.000+0000

Greetings All,

FYI, I've created a PriorityMessenger - please check it out and tell me what you think?


Sean P. O. MacCath-Moran <>

Posted by Marc Hodgins (mjh_ca) on 2010-11-26T22:39:33.000+0000

Closing as duplicate of ZF-1705

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.