svn: /phpdoc/de/trunk/reference/uodbc/functions/ odbc-fetch-into.xml

[email protected] (Oliver Albers)
Newsgroups php.doc.de
Message-ID <[email protected]>
simp                                     Wed, 28 Apr 2010 16:19:33 +0000

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

Log:
Bug #50905 documentation still reflected PHP < 4.2.0

Bug: http://bugs.php.net/50905 (Open) [DE] Bug in German Translation of the documentation
      
Changed paths:
    U   phpdoc/de/trunk/reference/uodbc/functions/odbc-fetch-into.xml

Modified: phpdoc/de/trunk/reference/uodbc/functions/odbc-fetch-into.xml
===================================================================
--- phpdoc/de/trunk/reference/uodbc/functions/odbc-fetch-into.xml	2010-04-28 16:01:50 UTC (rev 298707)
+++ phpdoc/de/trunk/reference/uodbc/functions/odbc-fetch-into.xml	2010-04-28 16:19:33 UTC (rev 298708)
@@ -1,31 +1,133 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
+<?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: n/a Maintainer: nobody Status: ready -->
-  <refentry xml:id="function.odbc-fetch-into" xmlns="http://docbook.org/ns/docbook">
-   <refnamediv>
-    <refname>odbc_fetch_into</refname>
-    <refpurpose>Eine Ergebniszeile in ein Array stellen</refpurpose>
-   </refnamediv>
-   <refsect1>
-    <title>Beschreibung</title>
-     <methodsynopsis>
-      <type>int</type><methodname>odbc_fetch_into</methodname>
-      <methodparam><type>int</type><parameter>result_id</parameter></methodparam>
-      <methodparam choice="opt"><type>int</type><parameter>
-        rownumber
-       </parameter></methodparam>
-      <methodparam><type>array</type><parameter>result_array</parameter></methodparam>
-     </methodsynopsis>
+<!-- EN-Revision: 297028 Maintainer: simp Status: ready -->
+<refentry xml:id="function.odbc-fetch-into" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+  <refname>odbc_fetch_into</refname>
+  <refpurpose>Eine Ergebniszeile in ein Array stellen</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <type>int</type><methodname>odbc_fetch_into</methodname>
+   <methodparam><type>resource</type><parameter>result_id</parameter></methodparam>
+   <methodparam><type>array</type><parameter role="reference">result_array</parameter></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>rownumber</parameter></methodparam>
+  </methodsynopsis>
+  <para>
+   Liest eine Ergebniszeile in ein <type>Array</type>.
+  </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <para>
+   <variablelist>
+    <varlistentry>
+     <term><parameter>result_id</parameter></term>
+     <listitem>
+      <para>
+       Die <type>Resource</type>, die das Abfrageergebnis beinhaltet.
+      </para>
+     </listitem>
+    </varlistentry>
+    <varlistentry>
+     <term><parameter>result_array</parameter></term>
+     <listitem>
+      <para>
+       Das <type>Array</type>, welches das Ergebnis aufnehmen soll. Hier
+       kann ein beliebiger Typ übergeben werden, da dies in ein Array
+       konvertiert wird. Das Array wird die Werte der einzelnen Spalten
+       ab der Arrayposition 0 enthalten.
+      </para>
+     </listitem>
+    </varlistentry>
+    <varlistentry>
+     <term><parameter>rownumber</parameter></term>
+     <listitem>
+      <para>
+       Die Zeilennummer.
+      </para>
+     </listitem>
+    </varlistentry>
+   </variablelist>
+  </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   Gibt die Anzahl der Spalten im Ergebnis zurück,
+   &false; bei einem Fehler.
+  </para>
+ </refsect1>
+
+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <para>
+   <informaltable>
+    <tgroup cols="2">
+     <thead>
+      <row>
+       <entry>&Version;</entry>
+       <entry>&Description;</entry>
+      </row>
+     </thead>
+     <tbody>
+      <row>
+       <entry>4.2.0</entry>
+       <entry>
+        Die Parameter <parameter>result_array</parameter> und <parameter>rownumber</parameter>
+        wurden vertauscht. Dies erlaubt, dass rownumber wieder eine Konstante ist.
+       </entry>
+      </row>
+      <row>
+       <entry>4.0.6</entry>
+       <entry>
+        <parameter>rownumber</parameter> kann nicht länger als Konstante übergeben werden,
+        sondern nur noch als Variable. Dies änderte sich mit PHP 4.2.0 wieder.
+       </entry>
+      </row>
+      <row>
+       <entry>4.0.5</entry>
+       <entry>
+        Der Parameter <parameter>result_array</parameter> muss nicht länger als
+        Referenz übergeben werden.
+       </entry>
+      </row>
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+  &reftitle.examples;
+  <para>
+   <example>
+    <title><function>odbc_fetch_into</function>-Beispiele</title>
+    <programlisting role="php">
+<![CDATA[
+<?php
+$rc = odbc_fetch_into($res_id, $my_array);
+?>
+]]>
+    </programlisting>
     <para>
-     Liefert die Anzahl der Ergebnisspalten zurück, bei einem Fehler
-     &false;.  Das Zielarray
-     <parameter>result_array</parameter> muss immer übergeben werden,
-     kann aber einen beliebigen Typ haben - es wird ohnehin zu einem
-     Array gemacht. Das Array enthält die Ergebnisspalten beginnend
-     mit <literal>0</literal>.
+     oder
     </para>
-   </refsect1>
-  </refentry>
+    <programlisting role="php">
+<![CDATA[
+<?php
+$rc = odbc_fetch_into($res_id, $my_array, 2);
+?>
+]]>
+    </programlisting>
+   </example>
+  </para>
+ </refsect1>
+</refentry>

 <!-- Keep this comment at the end of the file
 Local variables:
@@ -38,7 +140,7 @@
 sgml-indent-data:t
 indent-tabs-mode:nil
 sgml-parent-document:nil
-sgml-default-dtd-file:"../../../../manual.ced"
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
 sgml-exposed-tags:nil
 sgml-local-catalogs:nil
 sgml-local-ecat-files:nil
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.