2010年1月8日星期五

Re: [fw-mvc] Flash Messenger and getCurrentMessages()?

I was looking at that, too, but neither one of them accepts any arguments (according to the API docs).

Looking through the code, it seems that getMessages() pulls from the self::$_messages array, while get getCurrentMessages() pulls from the actual session. They both pull from the current namespace.

The word "specific" is what through me off.

--
Hector


On Fri, Jan 8, 2010 at 4:32 PM, Shaun Farrell <farrelley@gmail.com> wrote:
Has to do with the namespace

getCurrentMessages() - get messages that have been added to the current namespace within this request
getMessages() - Get messages from a specific namespace

Shaun J. Farrell
Washington, DC
(202) 713-5241
www.farrelley.com



On Fri, Jan 8, 2010 at 7:26 PM, Hector Virgen <djvirgen@gmail.com> wrote:
Quick question: What is the difference between getMessages() and getCurrentMessages()? Thanks!

--
Hector


没有评论: