Re: _() ???
| From: | Weston Houghton | Date: | Tue, 28 May 2002 22:56:14 +0000 |
| Subject: | Re: _() ??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99588@lists.php.net to get a copy of this message | ||
Of course this had to come in after I sent my email.
Thanks again Rasmus, you seem to always be there with the answer.
Wes
> No, the _() function is the standard gettext() alias. See
> http://php.net/gettext
>
> -Rasmus
>
> On Tue, 28 May 2002, John Holmes wrote:
>
>>> What exactly does the underscore in _("Select your preferred
>> language:")
>>> mean?
>>
>> It doesn't do anything. It's just a naming convention the author chose
>> to use. Usually when you name a function like that, it's meant to be
>> "private" or shouldn't be called directly. Other functions will use it,
>> but you shouldn't use it directly in your code. Of course, nothing is
>> stopping you from doing that though...
>>
>> ---John Holmes...
>>