svn: /phpdoc/de/trunk/reference/iconv/functions/ iconv-get-encoding.xml iconv.xml

[email protected] (Florian Anderiasch)
Newsgroups php.doc.de
Message-ID <[email protected]>
fa                                       Sun, 19 Jun 2011 21:47:58 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=312305

Log:
sync to en

Changed paths:
    U   phpdoc/de/trunk/reference/iconv/functions/iconv-get-encoding.xml
    U   phpdoc/de/trunk/reference/iconv/functions/iconv.xml

Modified: phpdoc/de/trunk/reference/iconv/functions/iconv-get-encoding.xml
===================================================================
--- phpdoc/de/trunk/reference/iconv/functions/iconv-get-encoding.xml	2011-06-19 20:27:04 UTC (rev 312304)
+++ phpdoc/de/trunk/reference/iconv/functions/iconv-get-encoding.xml	2011-06-19 21:47:58 UTC (rev 312305)
@@ -1,28 +1,100 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
+<?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 299721 Maintainer: fa Status: ready -->
+<!-- EN-Revision: 297028 Maintainer: fa Status: ready -->
   <refentry xml:id="function.iconv-get-encoding" xmlns="http://docbook.org/ns/docbook">
    <refnamediv>
     <refname>iconv_get_encoding</refname>
-    <refpurpose>Aktuelle Einstellung für Zeichensatz-Konvertierung auslesen</refpurpose>
+    <refpurpose>Aktuelle Einstellung für Zeichensatz-Konvertierung auslesen</refpurpose>
    </refnamediv>
-   <refsect1>
-    <title>Beschreibung</title>
+
+   <refsect1 role="description">
+    &reftitle.description;
      <methodsynopsis>
-      <type>array</type><methodname>iconv_get_encoding</methodname>
+      <type>mixed</type><methodname>iconv_get_encoding</methodname>
       <methodparam choice="opt"><type>string</type><parameter>type</parameter><initializer>"all"</initializer></methodparam>
      </methodsynopsis>
     <para>
-     Die Funktion gibt die aktuelle Einstellung von
-     <function>ob_iconv_handler</function> als Array zurück Bei einem Fehler wird .
-     &false; zurückgegeben.
+     Die Funktion gibt die internen Konfigurations-Variablen zurück
     </para>
-    <para>
-     Siehe auch:
-     <function>iconv_set_encoding</function> und
-     <function>ob_iconv_handler</function>.
-    </para>
    </refsect1>
+
+   <refsect1 role="parameters">
+  &reftitle.parameters;
+  <para>
+   <variablelist>
+    <varlistentry>
+     <term><parameter>type</parameter></term>
+     <listitem>
+      <para>
+       Der Wert des optionalen Parameters <parameter>type</parameter> kann sein:
+       <simplelist>
+        <member>all</member>
+        <member>input_encoding</member>
+        <member>output_encoding</member>
+        <member>internal_encoding</member>
+       </simplelist>
+      </para>
+     </listitem>
+    </varlistentry>
+   </variablelist>
+  </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   Returns the current value of the internal configuration variable if
+   successful
+   Gibt den aktuellen Wert der Konfigurations-Variable zurück. &return.falseforfailure;
+  </para>
+  <para>
+   Wenn <parameter>type</parameter> weggelassen oder auf "all" gesetzt ist,
+   gibt <function>iconv_get_encoding</function> ein Array mit allen Variablen zurück.
+  </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+  &reftitle.examples;
+  <para>
+   <example>
+    <title>Beispiel für <function>iconv_get_encoding</function></title>
+    <programlisting role="php">
+<![CDATA[
+<pre>
+<?php
+iconv_set_encoding("internal_encoding", "UTF-8");
+iconv_set_encoding("output_encoding", "ISO-8859-1");
+var_dump(iconv_get_encoding('all'));
+?>
+</pre>
+]]>
+    </programlisting>
+    &example.outputs;
+    <screen>
+<![CDATA[
+Array
+(
+    [input_encoding] => ISO-8859-1
+    [output_encoding] => ISO-8859-1
+    [internal_encoding] => UTF-8
+)
+
+]]>
+    </screen>
+   </example>
+  </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+  &reftitle.seealso;
+  <para>
+   <simplelist>
+    <member><function>iconv_set_encoding</function></member>
+    <member><function>ob_iconv_handler</function></member>
+   </simplelist>
+  </para>
+ </refsect1>
+
   </refentry>

 <!-- Keep this comment at the end of the file

Modified: phpdoc/de/trunk/reference/iconv/functions/iconv.xml
===================================================================
--- phpdoc/de/trunk/reference/iconv/functions/iconv.xml	2011-06-19 20:27:04 UTC (rev 312304)
+++ phpdoc/de/trunk/reference/iconv/functions/iconv.xml	2011-06-19 21:47:58 UTC (rev 312305)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: fa Status: ready -->
+<!-- EN-Revision: 290987 Maintainer: fa Status: ready -->
 <!-- splitted from ./en/functions/iconv.xml, last change in rev 1.1 -->
 <refentry xml:id="function.iconv" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -69,7 +69,7 @@
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
-   Gibt die konvertierte Zeichenkette oder &false; im Fehlerfall zurück.
+   Gibt die konvertierte Zeichenkette zurück. &return.falseforfailure;
   </para>
  </refsect1>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.