I baked a controller with the following snippet:
$this->Session->setFlash(__('List has been saved', true));
Why the underscores, and what does true denote, I couldn't find a
reference anywhere?
Also in my view
echo $session->flash();
is returning <div id="flashMessage" class="message">List has been
saved</div>1
After an evening of hunting....where on earth is that 1 being
generated, and how do I do away with it?
Thanks for any pointers!
Taff
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment