textdomain

(PHP 3 >= 3.0.7, PHP 4, PHP 5)

textdomain -- Sets the default domain

说明

string textdomain ( string text_domain )

This function sets the domain to search within when calls are made to gettext(), usually the named after an application.

参数

text_domain

The new message domain, or NULL to get the current setting without changing it

返回值

If successful, this function returns the current message domain, after possibly changing it.


add a note add a note User Contributed Notes
sorry at newyork dot com
30-May-2005 06:01
Hallo guys I want to ask where can I find anything about text function. Thanks for the answer.
vke at onebox dot com
15-Mar-2002 10:07
A domain is something like a word dictionary which is acting like a translation table.
bharathi at lantana dot iitm dot ernet dot in
23-Jul-2001 04:53
textdomain("myApp");
// myApp is MO file Name