Re: Underscores do what??

2009-05-13 Thread majna
Use some PHP IDE like Eclipse PDT or NetBeans: When you hover mouse on that function, code insight will show nice comments like: "Returns a translated string if one is found; Otherwise, the submitted message." You can even ctrl+click on that function and OMG! It's there! On May 12, 5:30 pm, Stu

Re: Underscores do what??

2009-05-12 Thread AD7six
On May 12, 5:45 pm, Stuart wrote: > Wow that was quick! Thanks for the link. I did search _() in the > cookbook but got nearly 500 hits. Guess I got frustrated before I got > to internationalization. For some terms (probably all none-word search terms), the book's search won't return results.

Re: Underscores do what??

2009-05-12 Thread Stuart
Wow that was quick! Thanks for the link. I did search _() in the cookbook but got nearly 500 hits. Guess I got frustrated before I got to internationalization. Thanks again. On May 12, 10:33 am, Matt Curry wrote: > http://book.cakephp.org/view/163/Internationalization-in-CakePHP > > -Matthttp:/

Re: Underscores do what??

2009-05-12 Thread Matt Curry
http://book.cakephp.org/view/163/Internationalization-in-CakePHP -Matt http://www.pseudocoder.com On May 12, 11:30 am, Stuart wrote: > Sigh, CakePHP newb here, > > I see this type of syntax used in bake generated code and views like > default.ctp but don't see it used in the cookbook. It seems

Underscores do what??

2009-05-12 Thread Stuart
Sigh, CakePHP newb here, I see this type of syntax used in bake generated code and views like default.ctp but don't see it used in the cookbook. It seems to replace echo in some places and not in others. I'm guessing this is some sort of php function to do some string manipulation but I can't see