★ wanayoo — archive 1999 http://fr.php.net/manual/fr/function.textdomain.phpNouvelle recherche | Portail wanayoo
PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<ngettextGMP>
view the version of this page
Last updated: Sun, 20 Apr 2003

textdomain

(PHP 3>= 3.0.7, PHP 4 )

textdomain -- Fixe le domaine par défaut.

Description

string textdomain ( string text_domain)

textdomain() fixe le domaine à utiliser lors de recherche avec gettext(). Ce domaine dépend généralement de l'application. Le domaine par défaut précédent est retourné. Appelez cette fonction avec with NULL comme paramètre pour avoir la valeur courante, sans la modifier.



User Contributed Notes
textdomain
add a note add a note
bharathi at lantana dot iitm dot ernet dot in
22-Jul-2001 08:53

textdomain("myApp");
// myApp is MO file Name

vke at onebox dot com
15-Mar-2002 01:07

A domain is something like a word dictionary which is acting like a translation table.
add a note add a note

<ngettextGMP>
 Last updated: Sun, 20 Apr 2003
show source | credits | stats | mirror sites 
Copyright © 2001-2003 The PHP Group
All rights reserved.
This mirror generously provided by: nexen.net
Last updated: Sun May 25 05:09:54 2003 CEST