Re: [fw-general] FlashMessenger plugin, message type

2012-11-12 Thread Bas Kamer
The messages themselves can be anything that can be serialized. I tend to use $message = array('type'='error', 'message'='blah'); Though a support for content - meta data would be useful... bas On 9 nov. 2012, at 15:14, Andreas Möller a...@softe.is wrote: may I ask why the FlashMessenger

Re: [fw-general] FlashMessenger plugin, message type

2012-11-12 Thread Andreas Möller
The messages themselves can be anything that can be serialized. I tend to use $message = array('type'='error', 'message'='blah'); Thanks for the hint! As far as I can tell from looking at the code of \Zend\Stdlib\SplQueue that is used for storing messages, that's true. I hadn't looked at it

[fw-general] FlashMessenger plugin, message type

2012-11-09 Thread Andreas Möller
Hello list, may I ask why the FlashMessenger plugin does not support specifying the type of the message that has been added? Best regards, Andreas -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe: fw-general-unsubscr...@lists.zend.com

Re: [fw-general] FlashMessenger plugin, message type

2012-11-09 Thread Volkan Altan
Hi, You can review this code... http://vufind.git.sourceforge.net/git/gitweb.cgi?p=vufind/vufind;a=blob_plain;f=module/VuFind/src/VuFind/Theme/Root/Helper/Flashmessages.php;hb=HEAD Volkan Altan http://volkanaltan.com/ İyi Çalışmalar. On Fri, Nov 9, 2012 at 4:14 PM, Andreas Möller

Re: [fw-general] FlashMessenger plugin, message type

2012-11-09 Thread Ludwig Ruderstaller
Hi, i use the namespaces for it https://gist.github.com/4046645 br Ludwig On 11/09/2012 03:14 PM, Andreas Möller wrote: Hello list, may I ask why the FlashMessenger plugin does not support specifying the type of the message that has been added? Best regards, Andreas -- CWD