This function acts as "if not the same" getText, by the way, naming getText
here, is there any native support for getText in cakePHP?

On 3/2/08, Sam Sherlock <[EMAIL PROTECTED]> wrote:
>
> internationalization
>
> __('translate me')   would look in the localizatiion file and output the
> corresponding translation
>
> On 02/03/2008, peterhf <[EMAIL PROTECTED]> wrote:
> >
> >
> > Just Baked my first Cake and I am looking at the code produced.
> >
> > What does the "__" mean in the following contexts:
> >
> > <?php __('Actions');?> or <?php echo $html->link(__('New Product',
> > true), array('action'=>'add')); ?>?
> >
> > I suspect that I am the only on this list who doesn't know the answer!
> >
> > Peter -
> >
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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