Well,
So, What is about the true parameter?

On Mar 24, 2:30 am, Miles J <[email protected]> wrote:
> __() is used for translation. It matches a slug with the correct mo/po
> file within the correct language/region.
>
> Its for localization.
>
> On Mar 23, 5:11 pm, saidbakr <[email protected]> wrote:
>
> > Hello,
> > This is an example:
> > [CODE]
> > $this->Session->setFlash(__('Post is not found.', true));
> > [/CODE]
>
> > What is the function __(), where I got its documentation and of course
> > what is the difference between writing the previous code without __()
> > function such as:
>
> > [CODE]
> > $this->Session->setFlash('Post is not found.');
> > [/CODE]

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

To unsubscribe from this group, send email to 
cake-php+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to