cvs: phpdoc /de preface.xml /de/functions mssql.xml oracle.xml session.xml /ja/functions pgsql.xml

From: Date: Wed, 19 Dec 2001 15:34:51 +0000
Subject: cvs: phpdoc /de preface.xml /de/functions mssql.xml oracle.xml session.xml /ja/functions pgsql.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969340100@lists.php.net to get a copy of this message
hirokawa Wed Dec 19 10:34:51 2001 EDT Modified files: /phpdoc/de preface.xml /phpdoc/de/functions mssql.xml oracle.xml session.xml /phpdoc/ja/functions pgsql.xml Log: translation updated.

Index: phpdoc/de/preface.xml diff -u phpdoc/de/preface.xml:1.10 phpdoc/de/preface.xml:1.11 --- phpdoc/de/preface.xml:1.10 Wed Dec 12 15:46:02 2001 +++ phpdoc/de/preface.xml Wed Dec 19 09:42:41 2001 @@ -15,7 +15,7 @@ </simpara> </abstract> - <sect1 id="about"> + <sect1> <title>Über dieses Handbuch</title> <para> Dieses Handbuch ist in <acronym>XML</acronym> geschrieben und Index: phpdoc/de/functions/mssql.xml diff -u phpdoc/de/functions/mssql.xml:1.16 phpdoc/de/functions/mssql.xml:1.17 --- phpdoc/de/functions/mssql.xml:1.16 Tue Dec 18 16:00:38 2001 +++ phpdoc/de/functions/mssql.xml Wed Dec 19 09:42:41 2001 @@ -32,14 +32,14 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>mssql_close</methodname> - <methodparam choice="opt"> - <type>int</type><parameter>Verbindungs-Kennung</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>mssql_close</function></funcdef> + <paramdef>int + <parameter><optional>link_identifier</optional></parameter> + </paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt bei Erfolg &true; und bei Auftreten eines Fehlers &false; zurück. @@ -77,20 +77,20 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>mssql_connect</methodname> - <methodparam choice="opt"> - <type>string</type><parameter>Servername</parameter> - </methodparam> - <methodparam choice="opt"> - <type>string</type><parameter>Benutzername</parameter> - </methodparam> - <methodparam choice="opt"> - <type>string</type><parameter>Passwort</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>mssql_connect</function></funcdef> + <paramdef>string + <parameter><optional>servername</optional></parameter> + </paramdef> + <paramdef>string + <parameter><optional>username</optional></parameter> + </paramdef> + <paramdef>string + <parameter><optional>password</optional></parameter> + </paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt bei Erfolg eine positive MS SQL Verbindungs-Kennung oder bei Auftreten eines Fehlers &false; zurück. @@ -127,17 +127,13 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>mssql_data_seek</methodname> - <methodparam> - <type>int</type><parameter>Ergebnis-Kennung</parameter> - </methodparam> - <methodparam> - <type>int</type><parameter>Zeilennummer</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>mssql_data_seek</function></funcdef> + <paramdef>int <parameter>result_identifier</parameter></paramdef> + <paramdef>int <parameter>row_number</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt bei Erfolg &true; und bei Auftreten eines Fehlers &false; zurück. @@ -163,14 +159,12 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>mssql_fetch_array</methodname> - <methodparam> - <type>int</type><parameter>Ergebnis</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>mssql_fetch_array</function></funcdef> + <paramdef>int <parameter>result</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt ein Array mit dem gelieferten Datensatz zurück oder &false;, wenn es keine weiteren Datensätze gibt. @@ -203,17 +197,15 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>object</type><methodname>mssql_fetch_field</methodname> - <methodparam> - <type>int</type><parameter>Erbebnis</parameter> - </methodparam> - <methodparam choice="opt"> - <type>int</type><parameter>Feld-Offset</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>object <function>mssql_fetch_field</function></funcdef> + <paramdef>int <parameter>result</parameter></paramdef> + <paramdef>int + <parameter><optional>field_offset</optional></parameter> + </paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt ein Objekt mit Informationen über ein Feld zurück. </para> @@ -263,14 +255,12 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>mssql_fetch_object</methodname> - <methodparam> - <type>int</type><parameter>Ergebnis</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>mssql_fetch_object</function></funcdef> + <paramdef>int <parameter>result</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt ein Objekt mit den Eigenschaften des gelieferten Datensatzes zurück oder &false;, wenn es keine weiteren Datensätze gibt. @@ -305,14 +295,12 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>array</type><methodname>mssql_fetch_row</methodname> - <methodparam> - <type>int</type><parameter>Ergebnis</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>array <function>mssql_fetch_row</function></funcdef> + <paramdef>int <parameter>result</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt ein Array mit dem gelieferten Datensatz zurück oder &false;, wenn es keinen weiteren Datensatz gibt. @@ -347,17 +335,15 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>mssql_field_length</methodname> - <methodparam> - <type>int</type><parameter>Ergebnis</parameter> - </methodparam> - <methodparam choice="opt"> - <type>int</type><parameter>Offset</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>mssql_field_length</function></funcdef> + <paramdef>int <parameter>result</parameter></paramdef> + <paramdef>int + <parameter><optional>offset</optional></parameter> + </paramdef> + </funcprototype> + </funcsynopsis> </refsect1> </refentry> @@ -368,17 +354,15 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>mssql_field_name</methodname> - <methodparam> - <type>int</type><parameter>Ergebnis</parameter> - </methodparam> - <methodparam choice="opt"> - <type>int</type><parameter>Offset</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>mssql_field_name</function></funcdef> + <paramdef>int <parameter>result</parameter></paramdef> + <paramdef>int + <parameter><optional>offset</optional></parameter> + </paramdef> + </funcprototype> + </funcsynopsis> </refsect1> </refentry> @@ -389,17 +373,13 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>mssql_field_seek</methodname> - <methodparam> - <type>int</type><parameter>Ergebnis</parameter> - </methodparam> - <methodparam> - <type>int</type><parameter>Feld-Offset</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>mssql_field_seek</function></funcdef> + <paramdef>int <parameter>result</parameter></paramdef> + <paramdef>int <parameter>field_offset</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> Sucht bis zum angegebenen <parameter>Feld-Offset</parameter>. Wenn der nächste Aufruf von @@ -420,17 +400,15 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>string</type><methodname>mssql_field_type</methodname> - <methodparam> - <type>int</type><parameter>Ergebnis</parameter> - </methodparam> - <methodparam choice="opt"> - <type>int</type><parameter>Offset</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>string <function>mssql_field_type</function></funcdef> + <paramdef>int <parameter>result</parameter></paramdef> + <paramdef>int + <parameter><optional>offset</optional></parameter> + </paramdef> + </funcprototype> + </funcsynopsis> </refsect1> </refentry> @@ -441,14 +419,12 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>mssql_free_result</methodname> - <methodparam> - <type>int</type><parameter>Ergebnis</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>mssql_free_result</function></funcdef> + <paramdef>int <parameter>result</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> <function>mssql_free_result</function> brauchen Sie nur aufrufen, wenn Sie sich über zu großen Speicherbedarf zur Laufzeit ihres @@ -471,12 +447,14 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>string</type><methodname>mssql_get_last_message</methodname> - <void/> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>string + <function>mssql_get_last_message</function> + </funcdef> + <void/> + </funcprototype> + </funcsynopsis> </refsect1> </refentry> @@ -487,14 +465,14 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>void</type><methodname>mssql_min_error_severity</methodname> - <methodparam> - <type>int</type><parameter>Schwellenwert</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>void + <function>mssql_min_error_severity</function> + </funcdef> + <paramdef>int <parameter>severity</parameter></paramdef> + </funcprototype> + </funcsynopsis> </refsect1> </refentry> @@ -505,14 +483,14 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>void</type><methodname>mssql_min_message_severity</methodname> - <methodparam> - <type>int</type><parameter>Schwellenwert</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>void + <function>mssql_min_message_severity</function> + </funcdef> + <paramdef>int <parameter>severity</parameter></paramdef> + </funcprototype> + </funcsynopsis> </refsect1> </refentry> @@ -525,14 +503,14 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>bool</type><methodname>mssql_next_result</methodname> - <methodparam> - <type>int</type><parameter>Ergebnis-ID</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>bool + <function>mssql_next_result</function> + </funcdef> + <paramdef>int <parameter>result_id</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> Wird mehr als eine SQL-Anweisung an den Server geschickt oder eine Stored Procedure mit mehreren Ergebnissen ausgeführt, dann @@ -574,14 +552,12 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>mssql_num_fields</methodname> - <methodparam> - <type>int</type><parameter>Ergebnis</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>mssql_num_fields</function></funcdef> + <paramdef>int <parameter>result</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> <function>mssql_num_fields</function> Gibt die Anzahl der Felder eines Ergebnisses zurück. @@ -604,14 +580,12 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>mssql_num_rows</methodname> - <methodparam> - <type>string</type><parameter>Ergebnis</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>mssql_num_rows</function></funcdef> + <paramdef>string <parameter>result</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> <function>mssql_num_rows</function> Gibt die Anzahl der Datensätze eines Ergebnisses zurück. @@ -633,20 +607,20 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>mssql_pconnect</methodname> - <methodparam choice="opt"> - <type>string</type><parameter>Servername</parameter> - </methodparam> - <methodparam choice="opt"> - <type>string</type><parameter>Benutzername</parameter> - </methodparam> - <methodparam choice="opt"> - <type>string</type><parameter>Passwort</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>mssql_pconnect</function></funcdef> + <paramdef>string + <parameter><optional>servername</optional></parameter> + </paramdef> + <paramdef>string + <parameter><optional>username</optional></parameter> + </paramdef> + <paramdef>string + <parameter><optional>password</optional></parameter> + </paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt bei Erfolg eine positive persistente MS SQL Verbindungs-Kennung oder, bei Auftreten eines Fehlers, &false; @@ -685,17 +659,15 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>mssql_query</methodname> - <methodparam> - <type>string</type><parameter>Anfrage</parameter> - </methodparam> - <methodparam choice="opt"> - <type>int</type><parameter>Verbindungs-Kennung</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>mssql_query</function></funcdef> + <paramdef>string <parameter>query</parameter></paramdef> + <paramdef>int + <parameter><optional>link_identifier</optional></parameter> + </paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt bei Erfolg eine positive Ergebnis-Kennung oder, bei Auftreten eines Fehlers, &false; zurück. @@ -727,20 +699,14 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>mssql_result</methodname> - <methodparam> - <type>int</type><parameter>Ergebnis</parameter> - </methodparam> - <methodparam> - <type>int</type><parameter>i</parameter> - </methodparam> - <methodparam> - <type>mixed</type><parameter>Feld</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>mssql_result</function></funcdef> + <paramdef>int <parameter>result</parameter></paramdef> + <paramdef>int <parameter>i</parameter></paramdef> + <paramdef>mixed <parameter>field</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> <function>mssql_result</function> gibt den Inhalt einer Zelle des angegebenen MS SQL Ergebnisdatensatzes zurück. Das Argument @@ -776,17 +742,15 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>mssql_select_db</methodname> - <methodparam> - <type>string</type><parameter>Datenbankname</parameter> - </methodparam> - <methodparam choice="opt"> - <type>int</type><parameter>Verbindungs-Kennung</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>mssql_select_db</function></funcdef> + <paramdef>string <parameter>database_name</parameter></paramdef> + <paramdef>int + <parameter><optional>link_identifier</optional></parameter> + </paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt bei Erfolg &true; und bei Auftreten eines Fehlers &false; zurück. Index: phpdoc/de/functions/oracle.xml diff -u phpdoc/de/functions/oracle.xml:1.15 phpdoc/de/functions/oracle.xml:1.16 --- phpdoc/de/functions/oracle.xml:1.15 Tue Dec 18 16:05:04 2001 +++ phpdoc/de/functions/oracle.xml Wed Dec 19 09:42:41 2001 @@ -12,26 +12,16 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <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> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>ora_bind</function></funcdef> + <paramdef>int <parameter>cursor</parameter></paramdef> + <paramdef>string <parameter>PHP variable name</parameter></paramdef> + <paramdef>string <parameter>SQL parameter name</parameter></paramdef> + <paramdef>int <parameter>length</parameter></paramdef> + <paramdef>int <parameter><optional>type</optional></parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt nach erfolgter Bindung &true;, andernfalls &false; zurück. Einzelheiten über den Fehler bekommen Sie mit den Funktionen @@ -81,14 +71,12 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>ora_close</methodname> - <methodparam> - <type>int</type><parameter>Cursor</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>ora_close</function></funcdef> + <paramdef>int <parameter>cursor</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt nach erfolgtem Schließen &true;, andernfalls &false; zurück. Einzelheiten über den Fehler bekommen Sie mit den Funktionen @@ -111,17 +99,13 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <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> - + <funcsynopsis> + <funcprototype> + <funcdef>string <function>Ora_ColumnName</function></funcdef> + <paramdef>int <parameter>cursor</parameter></paramdef> + <paramdef>int <parameter>column</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt den Namen des Feldes <parameter>Feld</parameter> des Cursors <parameter>Cursor</parameter> zurück. Der zurückgegebene Name ist @@ -139,17 +123,13 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <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> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>Ora_ColumnSize</function></funcdef> + <paramdef>int <parameter>cursor</parameter></paramdef> + <paramdef>int <parameter>column</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt die Größe des Oracle-Feldes <parameter>Feld</parameter> des Cursors <parameter>Cursor</parameter> zurück. Feld 0 ist das @@ -167,17 +147,13 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <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> - + <funcsynopsis> + <funcprototype> + <funcdef>string <function>Ora_ColumnType</function></funcdef> + <paramdef>int <parameter>cursor</parameter></paramdef> + <paramdef>int <parameter>column</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt den Oracle-Datentyp des Feldes <parameter>Feld</parameter> des Cursors <parameter>Cursor</parameter> zurück. Feld 0 ist das @@ -204,14 +180,12 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>ora_commit</methodname> - <methodparam> - <type>int</type><parameter>conn</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>ora_commit</function></funcdef> + <paramdef>int <parameter>conn</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt bei Erfolg &true; und bei Auftreten eines Fehlers &false; zurück. Einzelheiten über den Fehler bekommen Sie mit den @@ -235,14 +209,12 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>ora_commitoff</methodname> - <methodparam> - <type>int</type><parameter>conn</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>ora_commitoff</function></funcdef> + <paramdef>int <parameter>conn</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt bei Erfolg &true; und bei Auftreten eines Fehlers &false; zurück. Einzelheiten über den Fehler bekommen Sie mit den @@ -263,14 +235,12 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>ora_commiton</methodname> - <methodparam> - <type>int</type><parameter>conn</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>ora_commiton</function></funcdef> + <paramdef>int <parameter>conn</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt bei Erfolg &true; und bei Auftreten eines Fehlers &false; zurück. Einzelheiten über den Fehler bekommen Sie mit den @@ -294,17 +264,13 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <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> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>ora_do</function></funcdef> + <paramdef>int <parameter>conn</parameter></paramdef> + <paramdef>string <parameter>query</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt bei Erfolg &true; und bei Auftreten eines Fehlers &false; zurück. Einzelheiten über den Fehler bekommen Sie mit den @@ -332,14 +298,12 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>string</type><methodname>ora_error</methodname> - <methodparam> - <type>int</type><parameter>Cursor_oder_Verbindung</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>string <function>Ora_Error</function></funcdef> + <paramdef>int <parameter>cursor_or_connection</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt eine Fehlermeldung in der Form <replaceable>XXX</replaceable>-<replaceable>NNNNN</replaceable> @@ -375,14 +339,12 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>Ora_ErrorCode</methodname> - <methodparam> - <type>int</type><parameter>Cursor_oder_Verbindung</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>Ora_ErrorCode</function></funcdef> + <paramdef>int <parameter>cursor_or_connection</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt den numerischen Fehlercode der zuletzt ausgeführten Anweisung des angegebenen Cursors, bzw. der angegebenen @@ -407,14 +369,12 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>ora_exec</methodname> - <methodparam> - <type>int</type><parameter>Cursor</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>ora_exec</function></funcdef> + <paramdef>int <parameter>cursor</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt bei Erfolg &true; und bei Auftreten eines Fehlers &false; zurück. Einzelheiten über den Fehler bekommen Sie mit den @@ -435,14 +395,12 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>ora_fetch</methodname> - <methodparam> - <type>int</type><parameter>Cursor</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>ora_fetch</function></funcdef> + <paramdef>int <parameter>cursor</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt &true; (Datensatz wurde abgerufen) oder &false; (keine weiteren Datensätze oder Auftreten eines Fehlers) zurück. Bei @@ -470,20 +428,18 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <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> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>ora_fetch_into</function></funcdef> + <paramdef>int <parameter>cursor</parameter></paramdef> + <paramdef>array <parameter>result</parameter></paramdef> + <paramdef>int + <parameter> + <optional>flags</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> <para> Mit dieser Funktion können sie einen Datensatz in ein Array abrufen. @@ -519,17 +475,13 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <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> - + <funcsynopsis> + <funcprototype> + <funcdef>mixed <function>ora_getcolumn</function></funcdef> + <paramdef>int <parameter>cursor</parameter></paramdef> + <paramdef>mixed <parameter>column</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt die Felddaten zurück. Falls ein Fehler auftritt, wird &false; zurückgegeben und <function>ora_errorcode</function> gibt @@ -552,14 +504,12 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>ora_logoff</methodname> - <methodparam> - <type>int</type><parameter>Verbindung</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>ora_logoff</function></funcdef> + <paramdef>int <parameter>connection</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt bei Erfolg &true; und bei Auftreten eines Fehlers &false; zurück. Einzelheiten über den Fehler bekommen Sie mit den @@ -583,17 +533,13 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <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> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>ora_logon</function></funcdef> + <paramdef>string <parameter>user</parameter></paramdef> + <paramdef>string <parameter>password</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt bei Erfolg einen Verbindungs-Index oder bei Auftreten eines Fehlers &false; zurück. Einzelheiten über den Fehler bekommen Sie @@ -635,17 +581,13 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <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> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>ora_plogon</function></funcdef> + <paramdef>string <parameter>user</parameter></paramdef> + <paramdef>string <parameter>password</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> Diese Funktion baut mit <parameter>Benutzername</parameter> und <parameter>Passwort</parameter> eine persistente Verbindung @@ -664,14 +606,12 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>ora_numcols</methodname> - <methodparam> - <type>int</type><parameter>cursor_ind</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>ora_numcols</function></funcdef> + <paramdef>int <parameter>cursor_ind</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> <function>ora_numcols</function> gibt die Anzahl der Felder eines Ergebnisses zurück. Aussagekräftige Werte werden nur nach einer @@ -692,14 +632,12 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>ora_numrows</methodname> - <methodparam> - <type>int</type><parameter>cursor_ind</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>ora_numrows</function></funcdef> + <paramdef>int <parameter>cursor_ind</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> <function>ora_numrows</function> gibt die Anzahl der Datensätze eines Ergebnisses zurück. @@ -714,14 +652,12 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>ora_open</methodname> - <methodparam> - <type>int</type><parameter>Verbindung</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>ora_open</function></funcdef> + <paramdef>int <parameter>connection</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt bei Erfolg einen Cursor-Index oder bei Auftreten eines Fehlers &false; zurück. Einzelheiten über den Fehler bekommen Sie @@ -742,20 +678,14 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <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> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>ora_parse</function></funcdef> + <paramdef>int <parameter>cursor_ind</parameter></paramdef> + <paramdef>string <parameter>sql_statement</parameter></paramdef> + <paramdef>int <parameter>defer</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> &return.success; </para> @@ -777,14 +707,12 @@ </refnamediv> <refsect1> <title>Beschreibung</title> - - <methodsynopsis> - <type>int</type><methodname>ora_rollback</methodname> - <methodparam> - <type>int</type><parameter>Verbindung</parameter> - </methodparam> - </methodsynopsis> - + <funcsynopsis> + <funcprototype> + <funcdef>int <function>ora_rollback</function></funcdef> + <paramdef>int <parameter>connection</parameter></paramdef> + </funcprototype> + </funcsynopsis> <para> Gibt bei Erfolg &true; und bei Auftreten eines Fehlers &false; zurück. Einzelheiten über den Fehler bekommen Sie mit den Index: phpdoc/de/functions/session.xml diff -u phpdoc/de/functions/session.xml:1.37 phpdoc/de/functions/session.xml:1.38 --- phpdoc/de/functions/session.xml:1.37 Wed Dec 19 02:22:24 2001 +++ phpdoc/de/functions/session.xml Wed Dec 19 09:42:41 2001 @@ -79,22 +79,25 @@ </para> <para> Wenn - <link linkend="ini.register-globals"><literal>register_globals</lite aktiviert ist, können alle globalen Variablen als + <link linkend="ini.register-globals"><literal>register_globals</literal></link> + aktiviert ist, können alle globalen Variablen als Session-Variablen registriert werden und die Session-Variablen werden als entsprechende globale Variablen wiederhergestellt. - <example> - <title> - Registrierung einer Variablen bei aktiviertem - <link linkend="ini.register-globals"><literal>register_globals</literal></link> - </title> - <programlisting role="php"> -&lt;?php + </para> + <example> + <title> + Registrierung einer Variablen bei aktiviertem + <link linkend="ini.register-globals"><literal>register_globals</literal></link> + </title> + <programlisting role="php"> +<![CDATA[ +<?php session_register("count"); $count++; -?&gt; - </programlisting> - </example> - </para> +?> +]]> + </programlisting> + </example> <para> Wenn sowohl <link linkend="ini.track-vars"><literal>track_vars</literal></link> Index: phpdoc/ja/functions/pgsql.xml diff -u phpdoc/ja/functions/pgsql.xml:1.30 phpdoc/ja/functions/pgsql.xml:1.31 --- phpdoc/ja/functions/pgsql.xml:1.30 Tue Dec 18 18:26:16 2001 +++ phpdoc/ja/functions/pgsql.xml Wed Dec 19 10:34:51 2001 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.30 $ --> +<!-- $Revision: 1.31 $ --> <reference id="ref.pgsql"> <title>PostgreSQL 関数</title> <titleabbrev>PostgreSQL</titleabbrev> @@ -1051,13 +1051,25 @@ </funcsynopsis> <para> <function>pg_loopen</function>はインバージョンラージオブジェクトを - オープンし、そのラージオブジェクトのファイル識別子を返します。 - ファイル識別子は接続に関する情報をカプセル化します。 - ラージオブジェクトのファイル識別子をクローズする前に接続をクローズ - するのは避けてください。 - <parameter>objoid</parameter>には、有効なラージオブジェクトのoidを - 指定し、<parameter>mode</parameter>には"r","w","rw"のうちのいずれかを - 指定します。 + オープンし、ラージオブジェクトのリソースを返します。このリソース + は接続に関する情報をカプセル化します。<parameter>oid</parameter> + には、有効なラージオブジェクトのoidを指定し、 + <parameter>mode</parameter>には"r","w","rw"のうちのいずれかを指定 + します。この関数はエラーの場合に &false;を返します。 + </para> + <warning> + <para> + ラージオブジェクトのリソースを閉じる前にデータベースへの接続を閉 + じないで下さい。 + </para> + </warning> + <para> + ラージオブジェクト(lo)インターフェイスを使用するには、トランザク + ションブロックの中に括る必要があります。 + </para> + <para> + <function>pg_loclose</function>および + <function>pg_locreate</function>も参照下さい。 </para> </refsect1> </refentry> @@ -1065,7 +1077,7 @@ <refentry id="function.pg-loread"> <refnamediv> <refname>pg_loread</refname> - <refpurpose>ラージオブジェクトを読み込み</refpurpose> + <refpurpose>ラージオブジェクトを読み込む</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -1079,9 +1091,17 @@ <para> <function>pg_loread</function>は、ラージオブジェクトから最大 <parameter>len</parameter>バイト分読み込み、文字列として返します。 - <parameter>fd</parameter>には有効なラージオブジェクトのファイル識別子 - を指定し、<parameter>len</parameter>にはラージオブジェクトセグメント - の利用可能な最大サイズを指定します。 + <parameter>large_object</parameter>には有効なラージオブジェクトの + リソースを指定し、<parameter>len</parameter>にはラージオブジェク + トセグメントで利用可能な最大サイズを指定します。エラーの場合には、 + &false;が返されます。 + </para> + <para> + ラージオブジェクト(lo)インターフェイスを使用するには、トランザク + ションブロックの中に括る必要があります。 + </para> + <para> + <function>pg_loreadall</function>も参照下さい。 </para> </refsect1> </refentry> @@ -1089,7 +1109,9 @@ <refentry id="function.pg-loreadall"> <refnamediv> <refname>pg_loreadall</refname> - <refpurpose>ラージオブジェクト全体を読み込む</refpurpose> + <refpurpose> + ラージオブジェクト全体を読み込みブラウザに直接送信する + </refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -1100,10 +1122,18 @@ </funcprototype> </funcsynopsis> <para> - <function>pg_loreadall</function> はラャ¸オブジェクトを読み込み、 - 未送信ヘッダを送信した後、ブラウザを通して直接ラージオブジェクト + <function>pg_loreadall</function> はラージオブジェクトを読み込み、 + 未送信のヘッダを全て送信した後、ブラウザに直接ラージオブジェクト を送信します。これは主に、イメージや音などのバイナリデータを送信 - するために使用します。 + するために使用します。この関数は送信したバイト数を返します。エラー + の場合には、&false;が返されます。 + </para> + <para> + ラージオブジェクト(lo)インターフェイスを使用するには、トランザク + ションブロックの中に括る必要があります。 + </para> + <para> + <function>pg_loread</function>も参照下さい。 </para> </refsect1> </refentry> @@ -1123,9 +1153,17 @@ </funcprototype> </funcsynopsis> <para> - <function>pg_lounlink</function>は、ラージオブジェクトID - <parameter>lobjid</parameter>で関連付けられたラージオブジェクトを - 削除します。 + <function>pg_lounlink</function>は、<parameter>oid</parameter>で + 関連付けられたラージオブジェクトを削除します。成功時に&true;、そ + の他の場合は&false;が返されます。 + </para> + <para> + ラージオブジェクト(lo)インターフェイスを使用するには、トランザク + ションブロックの中に括る必要があります。 + </para> + <para> + <function>pg_locreate</function> および + <function>pg_loimport</function>も参照下さい。 </para> </refsect1> </refentry> @@ -1145,11 +1183,20 @@ </funcprototype> </funcsynopsis> <para> - <function>pg_lowrite</function>は、変数<parameter>buf</parameter>から - ラージオブ¸ェクトに書き込み、実際に書きこんだバイト数を返します。 - エラーを生じた場合は&false;を返します。<parameter>fd</parameter> - は、<function>pg_loopen</function>でオープンされたラージオブジェクトの - ファイル識別子です。 + <function>pg_lowrite</function>は、変数 + <parameter>data</parameter>からラージオブジェクトに書き込み、実際 + に書きこんだバイト数を返します。エラーを生じた場合は&false;を返し + ます。<parameter>large_object</parameter>は、 + <function>pg_loopen</function>でオープンされたラージオブジェクト + のリソースです。 + </para> + <para> + ラージオブジェクト(lo)インターフェイスを使用するには、トランザク + ションブロックの中に括る必要があります。 + </para> + <para> + <function>pg_locreate</function>および + <function>pg_loopen</function>も参照下さい。 </para> </refsect1> </refentry> @@ -1168,9 +1215,10 @@ </funcprototype> </funcsynopsis> <para> - <function>pg_numfields</function>は、PostgreSQLの結果におけるフィールド - (カラム)数を返します。引数は、<function>pg_exec</function>で返された - 有効な結果IDです。この関数はエラーの場合-1を返します。 + <function>pg_numfields</function>は、PostgreSQL + <parameter>result</parameter>におけるフィールド(カラム)数を返しま + す。引数は、<function>pg_exec</function>により返された結果リソー + スです。この関数はエラーの場合-1を返します。 </para> <para> <function>pg_numrows</function> および @@ -1193,10 +1241,17 @@ </funcprototype> </funcsynopsis> <para> - <function>pg_numrows</function>はPostgreSQLの結果における行数を返します。 - 引数は、<function>pg_exec</function>で返された有効な結果IDです。 + <function>pg_numrows</function>はPostgreSQLの + <parameter>result</parameter>リソースにおける行数を返します。引数 + は、<function>pg_exec</function>で返されたクエリ結果リソースです。 この関数は、エラーの際に-1を返します。 </para> + <note> + <para> + INSERT、UPDATE、DELETEクエリで変更されたレコード数を得るには、 + <function>pg_cmdtuples</function> を使用して下さい。 + </para> + </note> <para> <function>pg_numfields</function> および <function>pg_cmdtuples</function> も参照下さい。 @@ -1207,7 +1262,7 @@ <refentry id="function.pg-options"> <refnamediv> <refname>pg_options</refname> - <refpurpose>オプションを返す</refpurpose> + <refpurpose>接続に関連するオプションを取得する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -1218,9 +1273,9 @@ </funcprototype> </funcsynopsis> <para> - <function>pg_options</function>は、指定したPostgreSQL接続ID - (<parameter>connection_id</parameter>)において指定されたオプションを - 保持する文字列を返します。 + <function>pg_options</function>は、指定した + PostgreSQL<parameter>connection</parameter>リソースで指定したオプ + ションを保持する文字列を返します。 </para> </refsect1> </refentry> @@ -1228,36 +1283,77 @@ <refentry id="function.pg-pconnect"> <refnamediv> <refname>pg_pconnect</refname> - <refpurpose>持続的なデータベース接続を行う</refpurpose> + <refpurpose>持続的なデータベース接続をオープンする</refpurpose> </refnamediv> <refsect1> <title>説明</title> <funcsynopsis> <funcprototype> - <funcdef>resource <function>pg_pconnect</function></funcdef> + <funcdef>int <function>pg_pconnect</function></funcdef> <paramdef>string <parameter>connection_string</parameter></paramdef> </funcprototype> </funcsynopsis> <para> - 成功すると接続IDを返し、接続ができなかった場合は&false;を返します。 - この関数は、PostgreSQLデータベースに対する持続的な接続をオープン - します。引数は、引用符で括った文字列とする必要があります。 - 引数としては、<parameter>dbname</parameter> + <function>pg_pconnect</function> はPostgreSQLへの接続をオープンし + ます。この関数は、他のPostgreSQL関数により必要とされる接続リソー + スを返します。 + </para> + <para> + この関数は、成功すると接続IDを返し、接続ができなかった場合は + &false;を返します。引数は、引用符で括った文字列とする必要がありま + す。引数としては、<parameter>dbname</parameter> <parameter>port</parameter>, <parameter>host</parameter>, <parameter>tty</parameter>, <parameter>options</parameter>, <parameter>user</parameter>, <parameter>password</parameter>が使 用可能です。 </para> + <example> + <title>pg_pconnectの使用</title> + <programlisting role="php"> +<![CDATA[ +<?php +$dbconn = pg_pconnect ("dbname=mary"); +// "mary"という名前のデータベースに接続 +$dbconn2 = pg_pconnect ("host=localhost port=5432 dbname=mary"); +// "localhost"上のポート"5432"で"mary"という名前のデータベースに接続 +$dbconn3 = pg_connect ("host=sheep port=5432 dbname=mary user=lamb password=foo"); +// ユーザ名をパスワードを指定してホスト"sheep"上の"mary"という名前のデータベースに接続 +$conn_string = "host=sheep port=5432 dbname=test user=lamb password=bar"; +$dbconn4 = pg_pconnect ($conn_string); +// ユーザ名とパスワードを指定してホスト"sheep"上の"test"という名前のデータベースに接続 +?> +]]> + </programlisting> + </example> <para> - この関数は接続IDを返します。このIDは、その他のPostgreSQL関数で必要です。 - 一度に複数の持続的な接続を行うことも可能です。 + 同じ引数で<function>pg_pconnect</function>への2回目のコールが行 + われた場合、新規の接続はオープンされず、代わりに既にオープンされ + ている接続リソースが返されます。異なった接続パラメータ(すなわち別 + のユーザ名)を使用する場合には、同じデータベースに複数の接続を行う + ことが可能です。 </para> <para> - 以前の構文: + <function>pg_pconnect</function>の複数のパラメータを使用する構文 <command>$conn = pg_pconnect ("host", "port", "options", "tty", - "dbname") + "dbname") </command> - は推奨されません。 + は過去のものです。 + </para> + <para> + 持続的接続を有効にするには、php.iniのディレクティブ<link + linkend="ini.pgsql.allow-persistent">pgsql.allow_persistent</link> + を &quot;On&quot;に設定する必要があります。 (デフォルトはOnです) + 持続的接続の最大数をphp.iniディレクティブ<link + linkend="ini.pgsql.max-persistent">pgsql.max_persistent</link> + で指定することも可能です。(デフォルトは制限無しを意味する-1です) + 接続全体の数をphp.iniディレクティブ<link + linkend="ini.pgsql.max-links">pgsql.max_links</link> で設定可能で + す。 + </para> + <para> + <function>pg_close</function> は、 + <function>pg_pconnect</function>によりオープンされた持続的接続は + 閉じません。 </para> <para> <function>pg_connect</function>も参照下さい。 @@ -1268,7 +1364,7 @@ <refentry id="function.pg-port"> <refnamediv> <refname>pg_port</refname> - <refpurpose>ポート番号を返す</refpurpose> + <refpurpose>接続に関連するポート番号を返す</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -1279,8 +1375,9 @@ </funcprototype> </funcsynopsis> <para> - <function>pg_port</function>は、指定したPostgreSQL接続IDが接続し - ているポートの番号を返します。 + <function>pg_port</function>は、指定したPostgreSQL + <parameter>connection</parameter>リソースが接続しているポートの番 + 号を返します。 </para> </refsect1> </refentry> @@ -1322,7 +1419,8 @@ <example> <title>データのテーブルへの高速挿入</title> <programlisting role="php"> -&lt;?php +<![CDATA[ +<?php $conn = pg_pconnect ("dbname=foo"); pg_exec($conn, "create table bar (a int4, b char(16), d float8)"); pg_exec($conn, "copy bar from stdin"); @@ -1331,6 +1429,7 @@ pg_put_line($conn, "\\.\n"); pg_end_copy($conn); ?> +]]> </programlisting> </example> </para> @@ -1354,10 +1453,12 @@ </funcsynopsis> <para> <function>pg_result</function>は、<function>pg_exec</function>で - 返された結果ID(<parameter>result_id</parameter>)から実際の値を返 - します。<parameter>row_number</parameter>および - <parameter>fieldname</parameter>は、結果のテーブルに返すセルを指 - 定します。行(row)番号は0から始まります。フィールドを名前で指定す + 返された結果リソース<parameter>result</parameter>から実際の値を返 + します。<parameter>row_number</parameter>は整数です。 + <parameter>field</parameter>は、フィールド名(文字列)またはフィー + ルド番号(整数)です。<parameter>row_number</parameter>と + <parameter>field</parameter>は、結果のテーブルのどのセルを返すか + を指定します。行(row)番号は0から始まります。フィールドを名前で指定す る代わりに、フィールド番号を引用符で括らずに指定することもできま す。フィールド番号は0から始まります。 </para> @@ -1403,8 +1504,9 @@ </para> <note> <para> - この関数を使用するには、PHP-4.0.2以降とPostgreSQL-7.0以降が必要 - です。 + この関数を使用するには、PHP-4.0.3以降とPostgreSQL-7.0以降が必要 + です。サポートされるエンコーディングはPostgreSQLのバージョンに依 + 存します。詳細はPostgreSQLのマニュアルを参照下さい。 </para> <para> この関数は、<function>pg_setclientencoding</function>とコールす @@ -1435,16 +1537,23 @@ </funcprototype> </funcsynopsis> <para> - この関数は、PostgreSQLクライアントのエンコーディングを文字列とし - て返します。返り値は、次のどれかとなります。: + <function>pg_client_encoding</function>は、PostgreSQLクライアント + のエンコーディングを文字列として返します。返り値は、次のどれかと + なります。: SQL_ASCII, EUC_JP, EUC_CN, EUC_KR, EUC_TW, UNICODE, - MULE_INTERNAL, LATINX (X=1...9), KOI8, WIN, ALT, - SJIS, BIG5, WIN1250 + MULE_INTERNAL, LATINX (X=1...9), KOI8, WIN, ALT, SJIS, BIG5, + WIN1250 </para> <note> <para> - この関数を使用するには、PHP-4.0.2以降とPostgreSQL-7.0以降が必要 - です。 + この関数を使用するには、PHP-4.0.3以降とPostgreSQL-7.0以降が必要 + です。libpqがマルチバイトエンコーディングサポートを有効にせずに + コンパイルされている場合、 + <function>pg_set_client_encoding</function>は常に + &quot;SQL_ASCII&quot;を返します。サポートされるエンコーディング + はPostgreSQLのバージョンに依存します。マルチバイトを有効にする方 + 法とサポートされるエンコーディングに関する詳細はPostgreSQLのマニュ + アルを参照下さい。 </para> <para> この関数は、<function>pg_clientencoding</function>とコールするこ @@ -1492,9 +1601,9 @@ <para> <parameter>filename</parameter>および<parameter>mode</parameter>は <function>fopen</function>と同じです。 - (<parameter>mode</parameter>のデフォルトは'w') - <parameter>connection</parameter>によりトレースへのコネクションを - 指定します。デフォルトは最後にオープンされたコネクションです。 + (<parameter>mode</parameter>のデフォルトは'w'です) + <parameter>connection</parameter>によりトレースする接続を指定しま + す。デフォルトは最後にオープンされた接続です。 </para> <para> <parameter>filename</parameter>をロギング用にオープンできた場合に @@ -1521,7 +1630,8 @@ </funcprototype> </funcsynopsis> <para> - <function>pg_tty</function>は、指定したPostgreSQL接続ID上で、サー + <function>pg_tty</function>は、指定した + PostgreSQL<parameter>connection</parameter>リソースで、サー バ側のデバッグ出力が送られるtty名を返します。 </para> </refsect1> @@ -1546,14 +1656,385 @@ </funcsynopsis> <para> <function>pg_trace</function>により開始したトレースを停止します。 - <parameter>connection</parameter>によりトレースされているコネクション - を指定します。デフォルトは最後にオープンされたコネクションです。 + <parameter>connection</parameter>によりトレースされている接続を指 + 定します。デフォルトは最後にオープンされた接続です。 </para> <para> 常に&true;を返します。 </para> <para> <function>pg_trace</function>も参照下さい。 + </para> + </refsect1> + </refentry> + + <refentry id='function.pg-get-result'> + <refnamediv> + <refname>pg_get_result</refname> + <refpurpose> + Get asynchronous query result + </refpurpose> + </refnamediv> + <refsect1> + <title>説明</title> + <funcsynopsis> + <funcprototype> + <funcdef>resource <function>pg_get_result</function></funcdef> + <paramdef>resource <parameter><optional>connection</optional></parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> + </refentry> + + <refentry id='function.pg-request-cancel'> + <refnamediv> + <refname>pg_request_cancel</refname> + <refpurpose> + Cancel request + </refpurpose> + </refnamediv> + <refsect1> + <title>説明</title> + <funcsynopsis> + <funcprototype> + <funcdef>bool <function>pg_request_cancel</function></funcdef> + <paramdef>resource <parameter><optional>connection</optional></parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> + </refentry> + + <refentry id='function.pg-is-busy'> + <refnamediv> + <refname>pg_is_busy</refname> + <refpurpose> + Get connection is busy or not + </refpurpose> + </refnamediv> + <refsect1> + <title>説明</title> + <funcsynopsis> + <funcprototype> + <funcdef>bool <function>pg_is_busy</function></funcdef> + <paramdef>resource <parameter><optional>connection</optional></parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> + </refentry> + + <refentry id='function.pg-send-query'> + <refnamediv> + <refname>pg_send_query</refname> + <refpurpose> + 同期クエリを送信する + </refpurpose> + </refnamediv> + <refsect1> + <title>説明</title> + <funcsynopsis> + <funcprototype> + <funcdef>bool <function>pg_send_query</function></funcdef> + <paramdef>resource <parameter>connection</parameter></paramdef> + <paramdef>string <parameter>qeury</parameter></paramdef> + </funcprototype> + <funcprototype> + <funcdef>bool <function>pg_send_query</function></funcdef> + <paramdef>string <parameter>qeury</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> + </refentry> + + <refentry id='function.pg-cancel-query'> + <refnamediv> + <refname>pg_cancel_query</refname> + <refpurpose> + リクエストをキャンセルする + </refpurpose> + </refnamediv> + <refsect1> + <title>説明</title> + <funcsynopsis> + <funcprototype> + <funcdef>bool <function>pg_cancel_query</function></funcdef> + <paramdef>resource <parameter>connection</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> + </refentry> + + <refentry id='function.pg-connection-busy'> + <refnamediv> + <refname>pg_connection_busy</refname> + <refpurpose> + 接続がビジーかどうかを調べる + </refpurpose> + </refnamediv> + <refsect1> + <title>説明</title> + <funcsynopsis> + <funcprototype> + <funcdef>bool <function>pg_connection_busy</function></funcdef> + <paramdef>resource <parameter>connection</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> + </refentry> + + <refentry id='function.pg-connection-reset'> + <refnamediv> + <refname>pg_connection_reset</refname> + <refpurpose> + 接続をリセット(再接続)する + </refpurpose> + </refnamediv> + <refsect1> + <title>説明</title> + <funcsynopsis> + <funcprototype> + <funcdef>bool <function>pg_connection_reset</function></funcdef> + <paramdef>resource <parameter>connection</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> + </refentry> + + <refentry id='function.pg-connection-status'> + <refnamediv> + <refname>pg_connection_status</refname> + <refpurpose> + 接続ステータスを取得する + </refpurpose> + </refnamediv> + <refsect1> + <title>説明</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pg_connection_status</function></funcdef> + <paramdef>resource <parameter>connnection</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> + </refentry> + + <refentry id='function.pg-copy-from'> + <refnamediv> + <refname>pg_copy_from</refname> + <refpurpose> + No description given yet + </refpurpose> + </refnamediv> + <refsect1> + <title>説明</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pg_copy_from</function></funcdef> + <paramdef>int <parameter>connection</parameter></paramdef> + <paramdef>string <parameter>table_name</parameter></paramdef> + <paramdef>array <parameter>rows</parameter></paramdef> + <paramdef>string <parameter><optional>delimiter</optional></parameter></paramdef> + <paramdef>string <parameter><optional>null_as</optional></parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> + </refentry> + + <refentry id='function.pg-copy-to'> + <refnamediv> + <refname>pg_copy_to</refname> + <refpurpose> + Send null-terminated string to backend server + </refpurpose> + </refnamediv> + <refsect1> + <title>説明</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pg_copy_to</function></funcdef> + <paramdef>int <parameter>connection</parameter></paramdef> + <paramdef>string <parameter>table_name</parameter></paramdef> + <paramdef>string <parameter><optional>delimiter</optional></parameter></paramdef> + <paramdef>string <parameter><optional>null_as</optional></parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> + </refentry> + + <refentry id='function.pg-escape-bytea'> + <refnamediv> + <refname>pg_escape_bytea</refname> + <refpurpose> + Escape binary for bytea type + </refpurpose> + </refnamediv> + <refsect1> + <title>説明</title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>pg_escape_bytea</function></funcdef> + <paramdef>string <parameter>data</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> + </refentry> + + <refentry id='function.pg-escape-string'> + <refnamediv> + <refname>pg_escape_string</refname> + <refpurpose> + Escape string for text/char type + </refpurpose> + </refnamediv> + <refsect1> + <title>説明</title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>pg_escape_string</function></funcdef> + <paramdef>string <parameter>data</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> + </refentry> + + <refentry id='function.pg-lo-close'> + <refnamediv> + <refname>pg_lo_close</refname> + <refpurpose> + Close a large object + </refpurpose> + </refnamediv> + <refsect1> + <title>説明</title> + <funcsynopsis> + <funcprototype> + <funcdef>bool <function>pg_lo_close</function></funcdef> + <paramdef>resource <parameter>large_object</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> + </refentry> + + <refentry id='function.pg-lo-seek'> + <refnamediv> + <refname>pg_lo_seek</refname> + <refpurpose> + Seeks position of large object + </refpurpose> + </refnamediv> + <refsect1> + <title>説明</title> + <funcsynopsis> + <funcprototype> + <funcdef>bool <function>pg_lo_seek</function></funcdef> + <paramdef>resource <parameter>large_object</parameter></paramdef> + <paramdef>int <parameter>offset</parameter></paramdef> + <paramdef>int <parameter><optional>whence</optional></parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> + </refentry> + + <refentry id='function.pg-lo-tell'> + <refnamediv> + <refname>pg_lo_tell</refname> + <refpurpose> + Returns current position of large object + </refpurpose> + </refnamediv> + <refsect1> + <title>説明</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pg_lo_tell</function></funcdef> + <paramdef>resource <parameter>large_object</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> + </refentry> + + <refentry id='function.pg-result-error'> + <refnamediv> + <refname>pg_result_error</refname> + <refpurpose> + Get error message associated with result + </refpurpose> + </refnamediv> + <refsect1> + <title>説明</title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>pg_result_error</function></funcdef> + <paramdef>resource <parameter>result</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> + </refentry> + + <refentry id='function.pg-result-status'> + <refnamediv> + <refname>pg_result_status</refname> + <refpurpose> + Get status of query result + </refpurpose> + </refnamediv> + <refsect1> + <title>説明</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pg_result_status</function></funcdef> + <paramdef>resource <parameter>result</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + &warn.undocumented.func; </para> </refsect1> </refentry>
« previous php.doc (#969340100) next »