samesch Mon Dec 17 06:42:39 2001 EDT Modified files: /phpdoc/de/functions oracle.xml Log: Syncing with english rev. 1.25
Index: phpdoc/de/functions/oracle.xml diff -u phpdoc/de/functions/oracle.xml:1.12 phpdoc/de/functions/oracle.xml:1.13 --- phpdoc/de/functions/oracle.xml:1.12 Wed Dec 12 15:46:16 2001 +++ phpdoc/de/functions/oracle.xml Mon Dec 17 06:42:39 2001 @@ -12,22 +12,26 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>ora_bind</function></funcdef> - <paramdef>int <parameter>cursor</parameter></paramdef> - <paramdef>string - <parameter>PHP-Variablenname</parameter> - </paramdef> - <paramdef>string - <parameter>SQL-Parametername</parameter> - </paramdef> - <paramdef>int <parameter>Länge</parameter></paramdef> - <paramdef>int - <parameter><optional>Typ</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + + <methodsynopsis> + <type>int</type><methodname>ora_bind</methodname> + <methodparam> + <type>int</type><parameter>cursor</parameter> + </methodparam> + <methodparam> + <type>string</type><parameter>PHP-Variablenname</parameter> + </methodparam> + <methodparam> + <type>string</type><parameter>SQL-Parametername</parameter> + </methodparam> + <methodparam> + <type>int</type><parameter>Länge</parameter> + </methodparam> + <methodparam choice="opt"> + <type>int</type><parameter>Typ</parameter> + </methodparam> + </methodsynopsis> + <para> Gibt nach erfolgter Bindung &true;, andernfalls &false; zurück. Einzelheiten über den Fehler bekommen Sie mit den Funktionen @@ -53,15 +57,17 @@ diese verfügbar sind. <informalexample> <programlisting role="php"> -<?php +<![CDATA[ +<?php ora_parse($curs, "declare tmp INTEGER; begin tmp := :in; :out := tmp; :x := 7.77; end;"); ora_bind($curs, "ergebnis", ":x", $len, 2); ora_bind($curs, "eingabe", ":in", 5, 1); ora_bind($curs, "ausgabe", ":out", 5, 2); $eingabe = 765; ora_exec($curs); -echo "Ergebnis: $ergebnis<BR>Ausgabe: $ausgabe<BR>Eingabe: $eingabe"; -?> +echo "Ergebnis: $ergebnis<BR>Ausgabe: $ausgabe<BR>Eingabe: $eingabe"; +?> +]]> </programlisting> </informalexample> </para> @@ -75,12 +81,14 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>ora_close</function></funcdef> - <paramdef>int <parameter>Cursor</parameter></paramdef> - </funcprototype> - </funcsynopsis> + + <methodsynopsis> + <type>int</type><methodname>ora_close</methodname> + <methodparam> + <type>int</type><parameter>Cursor</parameter> + </methodparam> + </methodsynopsis> + <para> Gibt nach erfolgtem Schließen &true;, andernfalls &false; zurück. Einzelheiten über den Fehler bekommen Sie mit den Funktionen @@ -103,13 +111,17 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>Ora_ColumnName</function></funcdef> - <paramdef>int <parameter>Cursor</parameter></paramdef> - <paramdef>int <parameter>Feld</parameter></paramdef> - </funcprototype> - </funcsynopsis> + + <methodsynopsis> + <type>string</type><methodname>Ora_ColumnName</methodname> + <methodparam> + <type>int</type><parameter>Cursor</parameter> + </methodparam> + <methodparam> + <type>int</type><parameter>Feld</parameter> + </methodparam> + </methodsynopsis> + <para> Gibt den Namen des Feldes <parameter>Feld</parameter> des Cursors <parameter>Cursor</parameter> zurück. Der zurückgegebene Name ist @@ -127,13 +139,17 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>Ora_ColumnSize</function></funcdef> - <paramdef>int <parameter>Cursor</parameter></paramdef> - <paramdef>int <parameter>Feld</parameter></paramdef> - </funcprototype> - </funcsynopsis> + + <methodsynopsis> + <type>int</type><methodname>Ora_ColumnSize</methodname> + <methodparam> + <type>int</type><parameter>Cursor</parameter> + </methodparam> + <methodparam> + <type>int</type><parameter>Feld</parameter> + </methodparam> + </methodsynopsis> + <para> Gibt die Größe des Feldes <parameter>Feld</parameter> des Cursors <parameter>Cursor</parameter> zurück. @@ -150,13 +166,17 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>Ora_ColumnType</function></funcdef> - <paramdef>int <parameter>cursor</parameter></paramdef> - <paramdef>int <parameter>column</parameter></paramdef> - </funcprototype> - </funcsynopsis> + + <methodsynopsis> + <type>string</type><methodname>Ora_ColumnType</methodname> + <methodparam> + <type>int</type><parameter>cursor</parameter> + </methodparam> + <methodparam> + <type>int</type><parameter>column</parameter> + </methodparam> + </methodsynopsis> + <para> Gibt den Datentyp des Feldes <parameter>Feld</parameter> des Cursors <parameter>Cursor</parameter> zurück. Der zurückgegebene @@ -183,12 +203,14 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>ora_commit</function></funcdef> - <paramdef>int <parameter>conn</parameter></paramdef> - </funcprototype> - </funcsynopsis> + + <methodsynopsis> + <type>int</type><methodname>ora_commit</methodname> + <methodparam> + <type>int</type><parameter>conn</parameter> + </methodparam> + </methodsynopsis> + <para> Gibt bei Erfolg &true; und bei Auftreten eines Fehlers &false; zurück. Einzelheiten über den Fehler bekommen Sie mit den @@ -212,12 +234,14 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>ora_commitoff</function></funcdef> - <paramdef>int <parameter>conn</parameter></paramdef> - </funcprototype> - </funcsynopsis> + + <methodsynopsis> + <type>int</type><methodname>ora_commitoff</methodname> + <methodparam> + <type>int</type><parameter>conn</parameter> + </methodparam> + </methodsynopsis> + <para> Gibt bei Erfolg &true; und bei Auftreten eines Fehlers &false; zurück. Einzelheiten über den Fehler bekommen Sie mit den @@ -238,12 +262,14 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>ora_commiton</function></funcdef> - <paramdef>int <parameter>conn</parameter></paramdef> - </funcprototype> - </funcsynopsis> + + <methodsynopsis> + <type>int</type><methodname>ora_commiton</methodname> + <methodparam> + <type>int</type><parameter>conn</parameter> + </methodparam> + </methodsynopsis> + <para> Gibt bei Erfolg &true; und bei Auftreten eines Fehlers &false; zurück. Einzelheiten über den Fehler bekommen Sie mit den @@ -267,13 +293,17 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>ora_do</function></funcdef> - <paramdef>int <parameter>conn</parameter></paramdef> - <paramdef>string <parameter>Abfrage</parameter></paramdef> - </funcprototype> - </funcsynopsis> + + <methodsynopsis> + <type>int</type><methodname>ora_do</methodname> + <methodparam> + <type>int</type><parameter>conn</parameter> + </methodparam> + <methodparam> + <type>string</type><parameter>Abfrage</parameter> + </methodparam> + </methodsynopsis> + <para> Gibt bei Erfolg &true; und bei Auftreten eines Fehlers &false; zurück. Einzelheiten über den Fehler bekommen Sie mit den @@ -301,14 +331,14 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>ora_error</function></funcdef> - <paramdef>int - <parameter>Cursor_oder_Verbindung</parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + + <methodsynopsis> + <type>string</type><methodname>ora_error</methodname> + <methodparam> + <type>int</type><parameter>Cursor_oder_Verbindung</parameter> + </methodparam> + </methodsynopsis> + <para> Gibt eine Fehlermeldung in der Form <replaceable>XXX</replaceable>-<replaceable>NNNNN</replaceable> @@ -344,19 +374,19 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>Ora_ErrorCode</function></funcdef> - <paramdef>int - <parameter>Cursor_oder_Verbindung</parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + + <methodsynopsis> + <type>int</type><methodname>Ora_ErrorCode</methodname> + <methodparam> + <type>int</type><parameter>Cursor_oder_Verbindung</parameter> + </methodparam> + </methodsynopsis> + <para> Gibt den numerischen Fehlercode der zuletzt ausgeführten Anweisung des angegebenen Cursors, bzw. der angegebenen - Verbindung zurück. <comment>FIXME: should possible values be - listed?</comment> + Verbindung zurück. + <!-- FIXME: should possible values be listed? --> <note> <para> Die Unterstützung von Verbindungs-IDs wurde in 3.0.4 @@ -376,12 +406,14 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>ora_exec</function></funcdef> - <paramdef>int <parameter>Cursor</parameter></paramdef> - </funcprototype> - </funcsynopsis> + + <methodsynopsis> + <type>int</type><methodname>ora_exec</methodname> + <methodparam> + <type>int</type><parameter>Cursor</parameter> + </methodparam> + </methodsynopsis> + <para> Gibt bei Erfolg &true; und bei Auftreten eines Fehlers &false; zurück. Einzelheiten über den Fehler bekommen Sie mit den @@ -402,12 +434,14 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>ora_fetch</function></funcdef> - <paramdef>int <parameter>Cursor</parameter></paramdef> - </funcprototype> - </funcsynopsis> + + <methodsynopsis> + <type>int</type><methodname>ora_fetch</methodname> + <methodparam> + <type>int</type><parameter>Cursor</parameter> + </methodparam> + </methodsynopsis> + <para> Gibt &true; (Datensatz wurde abgerufen) oder &false; (keine weiteren Datensätze oder Auftreten eines Fehlers) zurück. Bei @@ -435,30 +469,34 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>ora_fetch_into</function></funcdef> - <paramdef>int <parameter>Cursor</parameter></paramdef> - <paramdef>array <parameter>Ergebnis</parameter></paramdef> - <paramdef>int - <parameter> - <optional>Flags</optional> - </parameter> - </paramdef> - </funcprototype> - </funcsynopsis> + + <methodsynopsis> + <type>int</type><methodname>ora_fetch_into</methodname> + <methodparam> + <type>int</type><parameter>Cursor</parameter> + </methodparam> + <methodparam> + <type>array</type><parameter>Ergebnis</parameter> + </methodparam> + <methodparam choice="opt"> + <type>int</type><parameter>Flags</parameter> + </methodparam> + </methodsynopsis> + <para> Mit dieser Funktion können sie einen Datensatz in ein Array abrufen. <example> <title>Oracle-Abruf in ein Array</title> <programlisting role="php"> -<?php +<![CDATA[ +<?php array($ergebnisse); -ora_fetch_into($cursor, &$ergebnisse); +ora_fetch_into($cursor, &$ergebnisse); echo $ergebnisse[0]; echo $ergebnisse[1]; -?> +?> +]]> </programlisting> </example> Beachten Sie, dass Sie das Array als Verweis einbringen müssen. @@ -480,13 +518,17 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - <funcsynopsis> - <funcprototype> - <funcdef>mixed <function>ora_getcolumn</function></funcdef> - <paramdef>int <parameter>Cursor</parameter></paramdef> - <paramdef>mixed <parameter>Feld</parameter></paramdef> - </funcprototype> - </funcsynopsis> + + <methodsynopsis> + <type>mixed</type><methodname>ora_getcolumn</methodname> + <methodparam> + <type>int</type><parameter>Cursor</parameter> + </methodparam> + <methodparam> + <type>mixed</type><parameter>Feld</parameter> + </methodparam> + </methodsynopsis> + <para> Gibt die Felddaten zurück. Falls ein Fehler auftritt, wird &false; zurückgegeben und <function>ora_errorcode</function> gibt @@ -509,12 +551,14 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>ora_logoff</function></funcdef> - <paramdef>int <parameter>Verbindung</parameter></paramdef> - </funcprototype> - </funcsynopsis> + + <methodsynopsis> + <type>int</type><methodname>ora_logoff</methodname> + <methodparam> + <type>int</type><parameter>Verbindung</parameter> + </methodparam> + </methodsynopsis> + <para> Gibt bei Erfolg &true; und bei Auftreten eines Fehlers &false; zurück. Einzelheiten über den Fehler bekommen Sie mit den @@ -538,13 +582,17 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>ora_logon</function></funcdef> - <paramdef>string <parameter>Benutzername</parameter></paramdef> - <paramdef>string <parameter>Passwort</parameter></paramdef> - </funcprototype> - </funcsynopsis> + + <methodsynopsis> + <type>int</type><methodname>ora_logon</methodname> + <methodparam> + <type>string</type><parameter>Benutzername</parameter> + </methodparam> + <methodparam> + <type>string</type><parameter>Passwort</parameter> + </methodparam> + </methodsynopsis> + <para> Gibt bei Erfolg einen Verbindungs-Index oder bei Auftreten eines Fehlers &false; zurück. Einzelheiten über den Fehler bekommen Sie @@ -564,7 +612,7 @@ <informalexample> <programlisting role="php"> $conn = Ora_Logon("Benutzername<emphasis>@TNSNAME</emphasis>", "pass"); -</programlisting> + </programlisting> </informalexample> </para> <para> @@ -586,13 +634,17 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>ora_plogon</function></funcdef> - <paramdef>string <parameter>Benutzername</parameter></paramdef> - <paramdef>string <parameter>Passwort</parameter></paramdef> - </funcprototype> - </funcsynopsis> + + <methodsynopsis> + <type>int</type><methodname>ora_plogon</methodname> + <methodparam> + <type>string</type><parameter>Benutzername</parameter> + </methodparam> + <methodparam> + <type>string</type><parameter>Passwort</parameter> + </methodparam> + </methodsynopsis> + <para> Diese Funktion baut mit <parameter>Benutzername</parameter> und <parameter>Passwort</parameter> eine persistente Verbindung @@ -611,12 +663,14 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>ora_numcols</function></funcdef> - <paramdef>int <parameter>cursor_ind</parameter></paramdef> - </funcprototype> - </funcsynopsis> + + <methodsynopsis> + <type>int</type><methodname>ora_numcols</methodname> + <methodparam> + <type>int</type><parameter>cursor_ind</parameter> + </methodparam> + </methodsynopsis> + <para> <function>ora_numcols</function> gibt die Anzahl der Felder eines Ergebnisses zurück. Aussagekräftige Werte werden nur nach einer @@ -637,12 +691,14 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>ora_numrows</function></funcdef> - <paramdef>int <parameter>cursor_ind</parameter></paramdef> - </funcprototype> - </funcsynopsis> + + <methodsynopsis> + <type>int</type><methodname>ora_numrows</methodname> + <methodparam> + <type>int</type><parameter>cursor_ind</parameter> + </methodparam> + </methodsynopsis> + <para> <function>ora_numrows</function> gibt die Anzahl der Datensätze eines Ergebnisses zurück. @@ -657,12 +713,14 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>ora_open</function></funcdef> - <paramdef>int <parameter>Verbindung</parameter></paramdef> - </funcprototype> - </funcsynopsis> + + <methodsynopsis> + <type>int</type><methodname>ora_open</methodname> + <methodparam> + <type>int</type><parameter>Verbindung</parameter> + </methodparam> + </methodsynopsis> + <para> Gibt bei Erfolg einen Cursor-Index oder bei Auftreten eines Fehlers &false; zurück. Einzelheiten über den Fehler bekommen Sie @@ -683,14 +741,20 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>ora_parse</function></funcdef> - <paramdef>int <parameter>Cursor_ind</parameter></paramdef> - <paramdef>string <parameter>SQL-Anweisung</parameter></paramdef> - <paramdef>int <parameter>aufschieben</parameter></paramdef> - </funcprototype> - </funcsynopsis> + + <methodsynopsis> + <type>int</type><methodname>ora_parse</methodname> + <methodparam> + <type>int</type><parameter>Cursor_ind</parameter> + </methodparam> + <methodparam> + <type>string</type><parameter>SQL-Anweisung</parameter> + </methodparam> + <methodparam> + <type>int</type><parameter>aufschieben</parameter> + </methodparam> + </methodsynopsis> + <para> Gibt bei Erfolg 0 oder bei Auftreten eines Fehlers -1 zurück. </para> @@ -712,12 +776,14 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>ora_rollback</function></funcdef> - <paramdef>int <parameter>Verbindung</parameter></paramdef> - </funcprototype> - </funcsynopsis> + + <methodsynopsis> + <type>int</type><methodname>ora_rollback</methodname> + <methodparam> + <type>int</type><parameter>Verbindung</parameter> + </methodparam> + </methodsynopsis> + <para> Gibt bei Erfolg &true; und bei Auftreten eines Fehlers &false; zurück. Einzelheiten über den Fehler bekommen Sie mit den @@ -749,4 +815,7 @@ 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 -->