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, Stuart <[email protected]> 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 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 seem to > figure out how to search for it via google, the PHP manual, or in the > cookbook. Searching for "<?php __(" just returns code excerpts > without any explanation. > > Can somebody give me a hint. I'll read the docs, I just need to have > some idea what I'm looking for. > > Beware, if you answer this I'm bound to ask another question. > Sometime. > > Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
