cvs: peardoc /en/package/internationalisation/i18nv2/i18nv2 setlocale.xml
| From: | Michael Wallner | Date: | Tue, 30 Mar 2004 11:59:23 +0000 |
| Subject: | cvs: peardoc /en/package/internationalisation/i18nv2/i18nv2 setlocale.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-3150@lists.php.net to get a copy of this message | ||
mike Tue Mar 30 06:59:23 2004 EDT
Modified files:
/peardoc/en/package/internationalisation/i18nv2/i18nv2
setlocale.xml
Log:
* removed <link /> from programlisting
http://cvs.php.net/diff.php/peardoc/en/package/internationalisation/i18nv2/i18nv2/setlocale.xml?r1=1.1&r2=1.2&ty=u
Index: peardoc/en/package/internationalisation/i18nv2/i18nv2/setlocale.xml
diff -u peardoc/en/package/internationalisation/i18nv2/i18nv2/setlocale.xml:1.1
peardoc/en/package/internationalisation/i18nv2/i18nv2/setlocale.xml:1.2
--- peardoc/en/package/internationalisation/i18nv2/i18nv2/setlocale.xml:1.1 Sat Mar 27 12:39:03 2004
+++ peardoc/en/package/internationalisation/i18nv2/i18nv2/setlocale.xml Tue Mar 30 06:59:22 2004
@@ -1,24 +1,24 @@
-<!-- $Revision: 1.1 $ -->
-<refentry id="package.internationalisation.i18nv2.i18nv2.setlocale">
- <refnamediv>
- <refname>
- <function>I18Nv2::setLocale</function>
- </refname>
- <refpurpose>Set locale</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <funcsynopsis>
- <funcsynopsisinfo>require_once 'I18Nv2.php';</funcsynopsisinfo>
- <funcprototype>
- <funcdef>mixed <function>I18Nv2::setLocale</function></funcdef>
- <paramdef>string <parameter>$locale</parameter></paramdef>
- <paramdef>int <parameter><optional>$cat =
LC_ALL</optional></parameter></paramdef>
- </funcprototype>
- </funcsynopsis>
- </refsynopsisdiv>
-
- <refsect1 id="package.internationalisation.i18nv2.i18nv2.setlocale.desc">
- &title.desc;
+<!-- $Revision: 1.2 $ -->
+<refentry id="package.internationalisation.i18nv2.i18nv2.setlocale">
+ <refnamediv>
+ <refname>
+ <function>I18Nv2::setLocale</function>
+ </refname>
+ <refpurpose>Set locale</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <funcsynopsis>
+ <funcsynopsisinfo>require_once 'I18Nv2.php';</funcsynopsisinfo>
+ <funcprototype>
+ <funcdef>mixed <function>I18Nv2::setLocale</function></funcdef>
+ <paramdef>string <parameter>$locale</parameter></paramdef>
+ <paramdef>int <parameter><optional>$cat =
LC_ALL</optional></parameter></paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ </refsynopsisdiv>
+
+ <refsect1 id="package.internationalisation.i18nv2.i18nv2.setlocale.desc">
+ &title.desc;
<para>
Set environment to the specified locale.
</para>
@@ -26,70 +26,70 @@
<title>Set a locale:</title>
<programlisting role="php">
1 require_once 'I18Nv2.php';
-2 <link
linkend="package.internationalisation.i18nv2.i18nv2-summary">I18Nv2</link>::<link
linkend="package.internationalisation.i18nv2.i18nv2.setlocale">setLocale</link>('en_GB');
+2 I18Nv2::setLocale('en_GB');
</programlisting>
</example>
- </refsect1>
-
- <refsect1 id="package.internationalisation.i18nv2.i18nv2.setlocale.param">
- &title.param;
- <para>
- <variablelist>
- <varlistentry>
- <term>
- &type.string; <parameter>$locale</parameter>
- </term>
- <listitem>
- <para>
- a valid locale like en_US or de_DE
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- <variablelist>
- <varlistentry>
- <term>
- &type.int; <parameter>$cat</parameter>
- </term>
- <listitem>
- <para>
- the locale category - usually LC_ALL
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </para>
- </refsect1>
-
- <refsect1 id="package.internationalisation.i18nv2.i18nv2.setlocale.returns">
- &title.returns;
- <para>
- Returns &type.string; used system locale or false on failure.
- </para>
- </refsect1>
-
- <refsect1 id="package.internationalisation.i18nv2.i18nv2.setlocale.note">
- &title.note;
- ¬e.shouldstatic;
- </refsect1>
-
-</refentry>
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:1
-sgml-indent-data:t
-sgml-parent-document:nil
-sgml-default-dtd-file:"../../../../manual.ced"
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
-vim600: syn=xml fen fdm=syntax fdl=2 si
-vim: et tw=78 syn=sgml
-vi: ts=1 sw=1
--->
+ </refsect1>
+
+ <refsect1 id="package.internationalisation.i18nv2.i18nv2.setlocale.param">
+ &title.param;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term>
+ &type.string; <parameter>$locale</parameter>
+ </term>
+ <listitem>
+ <para>
+ a valid locale like en_US or de_DE
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <variablelist>
+ <varlistentry>
+ <term>
+ &type.int; <parameter>$cat</parameter>
+ </term>
+ <listitem>
+ <para>
+ the locale category - usually LC_ALL
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </refsect1>
+
+ <refsect1 id="package.internationalisation.i18nv2.i18nv2.setlocale.returns">
+ &title.returns;
+ <para>
+ Returns &type.string; used system locale or false on failure.
+ </para>
+ </refsect1>
+
+ <refsect1 id="package.internationalisation.i18nv2.i18nv2.setlocale.note">
+ &title.note;
+ ¬e.shouldstatic;
+ </refsect1>
+
+</refentry>
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:"../../../../manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->