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 namespacegetCurrentMessages() - get messages that have been added to the current namespace within this requestgetMessages() - 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
没有评论:
发表评论