On Mon, Sep 8, 2008 at 4:00 PM, Action <[EMAIL PROTECTED]> wrote:

>
> The bake console generated the following code:
>
> $this->Session->setFlash(__('The User has been saved', true));
>
> what does the __() mean?


Look at the function in cake/basics.php:

"Returns a translated string if one is found, or the submitted message if
not found."

- Gonzalo

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to