I'm not sure how FlashMessenger is supposed to work, as there are several places where a $namespace option is supposed to be accepted by a function, but it's not part of the parameters. Also, adding namespaces adds complexity when using hasMessages(), count() etc., which currently only return values for the current namespace, not all namespaces. I wondered whether anyone can point me at the definitive design document or similar for this, so I can get an idea of how it's intended to work. I would like to be able to use namespaces, so it would be useful to know whether the API is going to cope with those or not.
Elliot Eric Coleman-3 wrote: > > I believe the API is incomplete as I mentioned in a previous email. > I spent a tiny bit of time testing this and I think the small changes > are enough.. > > What I did > > - added getNamespace() - returns current namespace > - implemented direct method as direct($message, $namespace = > 'default') > this was mentioned in the manual but seems to have been missing > - changed getCurrentMessages() to getCurrentMessages($clear = false) > if you want to clear out the namespace after retrieval, change it > to true > > Regards, > Eric > > > > -- View this message in context: http://www.nabble.com/FlashMessenger-Patch---Completion-of-the-API-tf3898116s16154.html#a11620967 Sent from the Zend Framework mailing list archive at Nabble.com.