cvs: phpdoc /en/reference/gettext/functions textdomain.xml

From: Date: Mon, 07 Mar 2005 17:52:14 +0000
Subject: cvs: phpdoc /en/reference/gettext/functions textdomain.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969366872@lists.php.net to get a copy of this message
nlopess Mon Mar 7 12:52:14 2005 EDT Modified files: /phpdoc/en/reference/gettext/functions textdomain.xml Log: remove note about copying files to the windows dir http://cvs.php.net/diff.php/phpdoc/en/reference/gettext/functions/textdomain.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc/en/reference/gettext/functions/textdomain.xml diff -u phpdoc/en/reference/gettext/functions/textdomain.xml:1.2 phpdoc/en/reference/gettext/functions/textdomain.xml:1.3 --- phpdoc/en/reference/gettext/functions/textdomain.xml:1.2 Wed Apr 17 02:38:21 2002 +++ phpdoc/en/reference/gettext/functions/textdomain.xml Mon Mar 7 12:52:14 2005 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/gettext.xml, last change in rev 1.2 --> <refentry id="function.textdomain"> <refnamediv> <refname>textdomain</refname> <refpurpose>Sets the default domain</refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>textdomain</methodname> <methodparam><type>string</type><parameter>text_domain</parameter></methodparam> @@ -15,12 +15,36 @@ <para> This function sets the domain to search within when calls are made to <function>gettext</function>, usually the named after an - application. The previous default domain is returned. - Call it with &null; as parameter to get the current setting without - changing it. + application. Call it with &null; as parameter to + get the current setting without changing it. </para> </refsect1> - </refentry> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>text_domain</parameter></term> + <listitem> + <para> + Its description + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + If successful, this function returns the current message + domain, after possibly changing it. + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables:

« previous php.doc (#969366872) next »