cvs: phpdoc-ja /reference/ingres-ii configure.xml constants.xml ini.xml reference.xml /reference/ingres-ii/functions ingres-autocommit.xml
ingres-close.xml ingres-commit.xml ingres-connect.xml ingres-fetch-array.xml ingres-fetch-object.xml ingres-fetch-row.xml ingres-field-length.xml
ingres-field-name.xml ingres-field-nullable.xml ingres-field-precision.xml ingres-field-scale.xml ingres-field-type.xml ingres-num-fields.xml
ingres-num-rows.xml ingres-pconnect.xml ingres-query.xml ingres-rollback.xml

From: Date: Thu, 25 Aug 2005 14:24:52 +0000
Subject: cvs: phpdoc-ja /reference/ingres-ii configure.xml constants.xml ini.xml reference.xml /reference/ingres-ii/functions ingres-autocommit.xml
ingres-close.xml ingres-commit.xml ingres-connect.xml ingres-fetch-array.xml ingres-fetch-object.xml ingres-fetch-row.xml ingres-field-length.xml
ingres-field-name.xml ingres-field-nullable.xml ingres-field-precision.xml ingres-field-scale.xml ingres-field-type.xml ingres-num-fields.xml
ingres-num-rows.xml ingres-pconnect.xml ingres-query.xml ingres-rollback.xml
Groups: php.doc.ja 
Request: Send a blank email to doc-ja+get-1156@lists.php.net to get a copy of this message
takagi Thu Aug 25 10:24:52 2005 EDT Added files: /phpdoc-ja/reference/ingres-ii constants.xml Modified files: /phpdoc-ja/reference/ingres-ii/functions ingres-rollback.xml ingres-query.xml ingres-pconnect.xml ingres-num-rows.xml ingres-num-fields.xml ingres-field-type.xml ingres-field-scale.xml ingres-field-precision.xml ingres-field-nullable.xml ingres-field-name.xml ingres-field-length.xml ingres-fetch-row.xml ingres-fetch-object.xml ingres-fetch-array.xml ingres-connect.xml ingres-commit.xml ingres-close.xml ingres-autocommit.xml /phpdoc-ja/reference/ingres-ii reference.xml ini.xml configure.xml Log: sync with en.

http://cvs.php.net/diff.php/phpdoc-ja/reference/ingres-ii/functions/ingres-rollback.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-ja/reference/ingres-ii/functions/ingres-rollback.xml diff -u phpdoc-ja/reference/ingres-ii/functions/ingres-rollback.xml:1.4 phpdoc-ja/reference/ingres-ii/functions/ingres-rollback.xml:1.5 --- phpdoc-ja/reference/ingres-ii/functions/ingres-rollback.xml:1.4 Sun Jan 2 02:23:35 2005 +++ phpdoc-ja/reference/ingres-ii/functions/ingres-rollback.xml Thu Aug 25 10:24:38 2005 @@ -1,6 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./ja/functions/ingres_ii.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.1 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: hirokawa Status: ready --> +<!-- CREDITS: takagi --> <refentry id="function.ingres-rollback"> <refnamediv> <refname>ingres_rollback</refname> @@ -10,24 +12,21 @@ <title>説明</title> <methodsynopsis> <type>bool</type><methodname>ingres_rollback</methodname> - <methodparam><type>resource</type><parameter> - <replaceable><optional>link</optional></replaceable> - </parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam> </methodsynopsis> - &warn.experimental.func; <para> - <function>ingres_rollback</function> は現在オープンされているトラ - ンザクションをロールバックし、トランザクションの間にデータベース - に行われた全ての変更をキャンセルします。 + <function>ingres_rollback</function> は現在オープンされている + トランザクションをロールバックし、トランザクションの間にデータベースに + 行われた全ての変更をキャンセルします。 </para> <para> この関数は、トランザクションをクローズします。 - <function>ingres_query</function> によりクエリを送信することによ - り、新規のトランザクションをオープンすることが可能です。 + <function>ingres_query</function> によりクエリを送信することによって、 + 新規のトランザクションをオープンすることが可能です。 </para> <para> - <function>ingres_query</function>, - <function>ingres_commit</function>, + <function>ingres_query</function>、 + <function>ingres_commit</function>、および <function>ingres_autocommit</function> も参照ください。 </para> </refsect1> http://cvs.php.net/diff.php/phpdoc-ja/reference/ingres-ii/functions/ingres-query.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-ja/reference/ingres-ii/functions/ingres-query.xml diff -u phpdoc-ja/reference/ingres-ii/functions/ingres-query.xml:1.4 phpdoc-ja/reference/ingres-ii/functions/ingres-query.xml:1.5 --- phpdoc-ja/reference/ingres-ii/functions/ingres-query.xml:1.4 Sun Jan 2 02:23:35 2005 +++ phpdoc-ja/reference/ingres-ii/functions/ingres-query.xml Thu Aug 25 10:24:38 2005 @@ -1,46 +1,45 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./ja/functions/ingres_ii.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.1 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 1.5 Maintainer: hirokawa Status: ready --> +<!-- CREDITS: takagi --> <refentry id="function.ingres-query"> <refnamediv> <refname>ingres_query</refname> - <refpurpose>Ingres II にSQLクエリを送信する</refpurpose> + <refpurpose>Ingres II に SQL クエリを送信する</refpurpose> </refnamediv> <refsect1> <title>説明</title> <methodsynopsis> <type>bool</type><methodname>ingres_query</methodname> <methodparam><type>string</type><parameter>query</parameter></methodparam> - <methodparam><type>resource</type><parameter> - <replaceable><optional>link</optional></replaceable> - </parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam> </methodsynopsis> - &warn.experimental.func; <para> - 成功時に&true;、失敗時に&false;を返します。 + 成功時に &true;、失敗時に &false; を返します。 </para> <para> <function>ingres_query</function> は、指定した - <parameter>query</parameter> を Ingres サーバに送信します。このク - エリは、有効なSQLクエリである必要があります。(Ingres SQL リファレ - ンスガイドを参照ください) + <parameter>query</parameter> を Ingres サーバに送信します。この + クエリは、有効なSQLクエリである必要があります。 + (Ingres SQL リファレンスガイドを参照ください) </para> <para> クエリは、現在オープンされているトランザクションの一部となります。 オープンされているトランザクションがない場合、 - <function>ingres_query</function> は新規のトランザクションをオー - プンします。トランザクションをクローズするには、データベースへの + <function>ingres_query</function> は新規のトランザクションをオープン + します。トランザクションをクローズするには、データベースへの 変更をコミットする場合に <function>ingres_commit</function> を、 これらの変更をキャンセルする場合に - <function>ingres_rollback</function> のどちらかを使用することが可 - 能です。スクリプト終了時に、全てのオープンされたトランザクション - は(<function>ingres_rollback</function>をコールすることにより) + <function>ingres_rollback</function> のどちらかを使用することが + 可能です。スクリプト終了時に、全てのオープンされたトランザクションは + (<function>ingres_rollback</function> をコールすることにより) ロールバックされます。新規トランザクションをオープンする前に <function>ingres_autocommit</function> を使用することも可能です。 - この場合、各SQLクエリは直ちにコミットされます。 + この場合、各 SQL クエリは直ちにコミットされます。 </para> <para> - 次の型のSQLクエリは、この関数で送信できません。 + 次の型の SQL クエリは、この関数で送信できません。 <itemizedlist> <listitem> <simpara>close (<function>ingres_close</function>を参照)</simpara> @@ -58,13 +57,13 @@ <listitem><simpara>prepare to commit</simpara></listitem> <listitem> <simpara> - rollback (<function>ingres_rollback</function>を参照) + rollback (<function>ingres_rollback</function>を参照) </simpara> </listitem> <listitem><simpara>savepoint</simpara></listitem> <listitem> <simpara> - set autocommit (<function>ingres_autocommit</function>を参照) + set autocommit (<function>ingres_autocommit</function>を参照) </simpara> </listitem> <listitem> @@ -78,9 +77,9 @@ <programlisting role="php"> <![CDATA[ <?php -ingres_connect ($database, $user, $password); +ingres_connect($database, $user, $password); -ingres_query ("select * from table"); +ingres_query("select * from table"); while ($row = ingres_fetch_row()) { echo $row[1]; echo $row[2]; @@ -91,11 +90,11 @@ </example> </para> <para> - <function>ingres_fetch_array</function>, - <function>ingres_fetch_object</function>, - <function>ingres_fetch_row</function>, - <function>ingres_commit</function>, - <function>ingres_rollback</function>, + <function>ingres_fetch_array</function>、 + <function>ingres_fetch_object</function>、 + <function>ingres_fetch_row</function>、 + <function>ingres_commit</function>、 + <function>ingres_rollback</function>、および <function>ingres_autocommit</function> も参照ください。 </para> </refsect1> http://cvs.php.net/diff.php/phpdoc-ja/reference/ingres-ii/functions/ingres-pconnect.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-ja/reference/ingres-ii/functions/ingres-pconnect.xml diff -u phpdoc-ja/reference/ingres-ii/functions/ingres-pconnect.xml:1.4 phpdoc-ja/reference/ingres-ii/functions/ingres-pconnect.xml:1.5 --- phpdoc-ja/reference/ingres-ii/functions/ingres-pconnect.xml:1.4 Sun Jan 2 02:23:35 2005 +++ phpdoc-ja/reference/ingres-ii/functions/ingres-pconnect.xml Thu Aug 25 10:24:38 2005 @@ -1,6 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./ja/functions/ingres_ii.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.1 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: hirokawa Status: ready --> +<!-- CREDITS: takagi --> <refentry id="function.ingres-pconnect"> <refnamediv> <refname>ingres_pconnect</refname> @@ -12,34 +14,26 @@ <title>説明</title> <methodsynopsis> <type>resource</type><methodname>ingres_pconnect</methodname> - <methodparam><type>string</type><parameter> - <replaceable><optional>database</optional></replaceable> - </parameter></methodparam> - <methodparam><type>string</type><parameter> - <replaceable><optional>username</optional></replaceable> - </parameter></methodparam> - <methodparam><type>string</type><parameter> - <replaceable><optional>password</optional></replaceable> - </parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>database</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>username</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>password</parameter></methodparam> </methodsynopsis> - &warn.experimental.func; <para> - 成功した際に Ingres II リンクリソース、失敗した際に &false; を返し - ます。 + 成功した際に Ingres II リンクリソース、失敗した際に &false; を返します。 </para> <para> パラメータの詳細と例については、 <function>ingres_connect</function> を参照ください。 <function>ingres_pconnect</function> と - <function>ingres_connect</function> の違いは次の2つだけです。 - まず、接続時にこの関数は、まず同じパラメータ既にオープンされて - いる(持続的な)リンクを探すことです。第2に、Ingres サーバへの接続 - はスクリプトの実行終了時にもクローズされないところです。代わりに、 - リンクは、後で使用するためにオープンされたままとなります。 + <function>ingres_connect</function> の違いは次の 2 つだけです。 + まず、接続時にこの関数は、まず同じパラメータ既にオープンされている + (持続的な)リンクを探すことです。第2に、Ingres サーバへの接続は + スクリプトの実行終了時にもクローズされないところです。代わりに、 + リンクは、後で使用するためにオープンされたままとなります (<function>ingres_close</function> は、 - <function>ingres_pconnect</function>により確立されたリンクをクロー - ズしません) このため、この型のリンクは「持続的(persistent)」であ - ると呼ばれます。 + <function>ingres_pconnect</function> により確立されたリンクを + クローズしません)。このため、この型のリンクは「持続的(persistent)」 + であると呼ばれます。 </para> <para> <function>ingres_connect</function> および http://cvs.php.net/diff.php/phpdoc-ja/reference/ingres-ii/functions/ingres-num-rows.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-ja/reference/ingres-ii/functions/ingres-num-rows.xml diff -u phpdoc-ja/reference/ingres-ii/functions/ingres-num-rows.xml:1.4 phpdoc-ja/reference/ingres-ii/functions/ingres-num-rows.xml:1.5 --- phpdoc-ja/reference/ingres-ii/functions/ingres-num-rows.xml:1.4 Sun Jan 2 02:23:35 2005 +++ phpdoc-ja/reference/ingres-ii/functions/ingres-num-rows.xml Thu Aug 25 10:24:38 2005 @@ -1,6 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./ja/functions/ingres_ii.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.1 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: hirokawa Status: ready --> +<!-- CREDITS: takagi --> <refentry id="function.ingres-num-rows"> <refnamediv> <refname>ingres_num_rows</refname> @@ -12,17 +14,14 @@ <title>説明</title> <methodsynopsis> <type>int</type><methodname>ingres_num_rows</methodname> - <methodparam><type>resource</type><parameter> - <replaceable><optional>link</optional></replaceable> - </parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam> </methodsynopsis> - &warn.experimental.func; <para> delete, insert, update クエリの場合、 - <function>ingres_num_rows</function> は、そのクエリにより作用され - た行(レコード)の数を返します。その他のクエリの場合、 - <function>ingres_num_rows</function> はクエリ結果のレコード数を返 - します。 + <function>ingres_num_rows</function> は、そのクエリにより作用された行 + (レコード)の数を返します。その他のクエリの場合、 + <function>ingres_num_rows</function> はクエリ結果のレコード数を + 返します。 </para> <para> <note> @@ -30,21 +29,21 @@ この関数は、主にデータベースで修正されたレコードの数を得る際に 有用です。この関数が <function>ingres_fetch_array</function>、 <function>ingres_fetch_object</function>、 - <function>ingres_fetch_row</function> を使用する前にコールされ - た場合、サーバは結果のデータを削除し、スクリプトは結果を得るこ - とができなくなります。 + <function>ingres_fetch_row</function> を使用する前にコールされた + 場合、サーバは結果のデータを削除し、スクリプトは結果を得ることが + できなくなります。 </simpara> <simpara> - 代わりにこれらの取得用関数のどれかをもう結果が残っていないとい - う意味で &false; を返すまでループ処理を行い、結果のデータを取得す - る必要があります。 + 代わりにこれらの取得用関数のどれかをもう結果が残っていないという + 意味で &false; を返すまでループ処理を行い、結果のデータを取得する + 必要があります。 </simpara> </note> </para> <para> <function>ingres_query</function>、 <function>ingres_fetch_array</function>、 - <function>ingres_fetch_object</function>、 + <function>ingres_fetch_object</function>、および <function>ingres_fetch_row</function> も参照ください。 </para> </refsect1> http://cvs.php.net/diff.php/phpdoc-ja/reference/ingres-ii/functions/ingres-num-fields.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-ja/reference/ingres-ii/functions/ingres-num-fields.xml diff -u phpdoc-ja/reference/ingres-ii/functions/ingres-num-fields.xml:1.4 phpdoc-ja/reference/ingres-ii/functions/ingres-num-fields.xml:1.5 --- phpdoc-ja/reference/ingres-ii/functions/ingres-num-fields.xml:1.4 Sun Jan 2 02:23:35 2005 +++ phpdoc-ja/reference/ingres-ii/functions/ingres-num-fields.xml Thu Aug 25 10:24:39 2005 @@ -1,6 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./ja/functions/ingres_ii.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.1 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: hirokawa Status: ready --> +<!-- CREDITS: takagi --> <refentry id="function.ingres-num-fields"> <refnamediv> <refname>ingres_num_fields</refname> @@ -12,21 +14,18 @@ <title>説明</title> <methodsynopsis> <type>int</type><methodname>ingres_num_fields</methodname> - <methodparam><type>resource</type><parameter> - <replaceable><optional>link</optional></replaceable> - </parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam> </methodsynopsis> - &warn.experimental.func; <para> <function>ingres_num_fields</function> は、 - <function>ingres_query</function> をコールした後で、Ingres サーバ - により返された結果のフィールド数を返します。 + <function>ingres_query</function> をコールした後で、Ingres + サーバにより返された結果のフィールド数を返します。 </para> <para> <function>ingres_query</function>、 <function>ingres_fetch_array</function>、 - <function>ingres_fetch_object</function>、 - <function>ingres_fetch_row</function> も参照ください。 + <function>ingres_fetch_object</function>、および + <function>ingres_fetch_row</function> も参照ください。 </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-ja/reference/ingres-ii/functions/ingres-field-type.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-ja/reference/ingres-ii/functions/ingres-field-type.xml diff -u phpdoc-ja/reference/ingres-ii/functions/ingres-field-type.xml:1.4 phpdoc-ja/reference/ingres-ii/functions/ingres-field-type.xml:1.5 --- phpdoc-ja/reference/ingres-ii/functions/ingres-field-type.xml:1.4 Sun Jan 2 02:23:35 2005 +++ phpdoc-ja/reference/ingres-ii/functions/ingres-field-type.xml Thu Aug 25 10:24:39 2005 @@ -1,6 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./ja/functions/ingres_ii.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.1 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: hirokawa Status: ready --> +<!-- CREDITS: takagi --> <refentry id="function.ingres-field-type"> <refnamediv> <refname>ingres_field_type</refname> @@ -11,32 +13,29 @@ <methodsynopsis> <type>string</type><methodname>ingres_field_type</methodname> <methodparam><type>int</type><parameter>index</parameter></methodparam> - <methodparam><type>resource</type><parameter> - <replaceable><optional>link</optional></replaceable> - </parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam> </methodsynopsis> - &warn.experimental.func; <para> <function>ingres_field_type</function> はクエリ結果のフィールド型、 失敗した場合は、&false; を返します。返される型は、例えば、 "IIAPI_BYTE_TYPE", "IIAPI_CHA_TYPE", "IIAPI_DTE_TYPE", "IIAPI_FLT_TYPE", "IIAPI_INT_TYPE", "IIAPI_VCH_TYPE" になります。 - これらの型のいくつかは、フィールド長に応じて複数のSQL型をマップす - ることが可能です(<function>ingres_field_length</function>を参照 - ください)。例えば、"IIAPI_FLT_TYPE" は、float4 または float8 とする - ことが可能です。詳細な情報については、Ingres/OpenAPI User Guide + これらの型のいくつかは、フィールド長に応じて複数の SQL 型を + マップすることが可能です(<function>ingres_field_length</function> + を参照ください)。例えば、"IIAPI_FLT_TYPE" は、float4 または float8 + とすることが可能です。詳細な情報については、Ingres/OpenAPI User Guide の Appendix C を参照ください。 </para> <para> - <parameter>index</parameter> はフィールド番号であり、1と - <function>ingres_num_fields</function> で指定した値の間である必要 - があります。 + <parameter>index</parameter> はフィールド番号であり、1 と + <function>ingres_num_fields</function> で指定した値の間である必要が + あります。 </para> <para> - <function>ingres_query</function>, - <function>ingres_fetch_array</function>, - <function>ingres_fetch_object</function>, - <function>ingres_fetch_row</function> も参照ください。 + <function>ingres_query</function>、 + <function>ingres_fetch_array</function>、 + <function>ingres_fetch_object</function>、および + <function>ingres_fetch_row</function> も参照ください。 </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-ja/reference/ingres-ii/functions/ingres-field-scale.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-ja/reference/ingres-ii/functions/ingres-field-scale.xml diff -u phpdoc-ja/reference/ingres-ii/functions/ingres-field-scale.xml:1.4 phpdoc-ja/reference/ingres-ii/functions/ingres-field-scale.xml:1.5 --- phpdoc-ja/reference/ingres-ii/functions/ingres-field-scale.xml:1.4 Sun Jan 2 02:23:35 2005 +++ phpdoc-ja/reference/ingres-ii/functions/ingres-field-scale.xml Thu Aug 25 10:24:39 2005 @@ -1,6 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./ja/functions/ingres_ii.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.1 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: hirokawa Status: ready --> +<!-- CREDITS: takagi --> <refentry id="function.ingres-field-scale"> <refnamediv> <refname>ingres_field_scale</refname> @@ -11,27 +13,24 @@ <methodsynopsis> <type>int</type><methodname>ingres_field_scale</methodname> <methodparam><type>int</type><parameter>index</parameter></methodparam> - <methodparam><type>resource</type><parameter> - <replaceable><optional>link</optional></replaceable> - </parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam> </methodsynopsis> - &warn.experimental.func; <para> <function>ingres_field_scale</function> はフィールドのスケールを - 返します。この値は、SQLデータ decimal 型でのみ使用されます。詳細 - な情報については、Ingres/OpenAPI User Guide の Appendix C を参照 - ください。 + 返します。この値は、SQLデータ decimal 型でのみ使用されます。 + 詳細な情報については、Ingres/OpenAPI User Guide の Appendix C + を参照ください。 </para> <para> <parameter>index</parameter> はフィールド番号であり、1 と - <function>ingres_num_fields</function> で指定した値の間である必要 - があります。 + <function>ingres_num_fields</function> で指定した値の間である必要が + あります。 </para> <para> - <function>ingres_query</function>, - <function>ingres_fetch_array</function>, - <function>ingres_fetch_object</function>, - <function>ingres_fetch_row</function> も参照ください。 + <function>ingres_query</function>、 + <function>ingres_fetch_array</function>、 + <function>ingres_fetch_object</function>、および + <function>ingres_fetch_row</function> も参照ください。 </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-ja/reference/ingres-ii/functions/ingres-field-precision.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-ja/reference/ingres-ii/functions/ingres-field-precision.xml diff -u phpdoc-ja/reference/ingres-ii/functions/ingres-field-precision.xml:1.4 phpdoc-ja/reference/ingres-ii/functions/ingres-field-precision.xml:1.5 --- phpdoc-ja/reference/ingres-ii/functions/ingres-field-precision.xml:1.4 Sun Jan 2 02:23:35 2005 +++ phpdoc-ja/reference/ingres-ii/functions/ingres-field-precision.xml Thu Aug 25 10:24:39 2005 @@ -1,6 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./ja/functions/ingres_ii.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.1 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: hirokawa Status: ready --> +<!-- CREDITS: takagi --> <refentry id="function.ingres-field-precision"> <refnamediv> <refname>ingres_field_precision</refname> @@ -11,27 +13,24 @@ <methodsynopsis> <type>int</type><methodname>ingres_field_precision</methodname> <methodparam><type>int</type><parameter>index</parameter></methodparam> - <methodparam><type>resource</type><parameter> - <replaceable><optional>link</optional></replaceable> - </parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam> </methodsynopsis> - &warn.experimental.func; <para> <function>ingres_field_precision</function> はフィールドの精度を - 返します。この値は、decimal、float、SQLデータ money 型でのみ使用 - されます。詳細な情報については、Ingres/OpenAPI User Guide の + 返します。この値は、decimal、float、SQLデータ money 型でのみ使用されます。 + 詳細な情報については、Ingres/OpenAPI User Guide の Appendix C を参照ください。 </para> <para> <parameter>index</parameter> はフィールド番号であり、1 と - <function>ingres_num_fields</function> で指定した値の間である必要 - があります。 + <function>ingres_num_fields</function> で指定した値の間である必要が + あります。 </para> <para> - <function>ingres_query</function>, - <function>ingres_fetch_array</function>, - <function>ingres_fetch_object</function>, - <function>ingres_fetch_row</function> も参照ください。 + <function>ingres_query</function>、 + <function>ingres_fetch_array</function>、 + <function>ingres_fetch_object</function>、および + <function>ingres_fetch_row</function> も参照ください。 </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-ja/reference/ingres-ii/functions/ingres-field-nullable.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-ja/reference/ingres-ii/functions/ingres-field-nullable.xml diff -u phpdoc-ja/reference/ingres-ii/functions/ingres-field-nullable.xml:1.4 phpdoc-ja/reference/ingres-ii/functions/ingres-field-nullable.xml:1.5 --- phpdoc-ja/reference/ingres-ii/functions/ingres-field-nullable.xml:1.4 Sun Jan 2 02:23:35 2005 +++ phpdoc-ja/reference/ingres-ii/functions/ingres-field-nullable.xml Thu Aug 25 10:24:39 2005 @@ -1,21 +1,20 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./ja/functions/ingres_ii.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.1 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: hirokawa Status: ready --> +<!-- CREDITS: takagi --> <refentry id="function.ingres-field-nullable"> <refnamediv> <refname>ingres_field_nullable</refname> - <refpurpose>フィールドに&null;値を設定可能かどうか調べる</refpurpose> + <refpurpose>フィールドに &null; 値を設定可能かどうか調べる</refpurpose> </refnamediv> <refsect1> <title>説明</title> <methodsynopsis> <type>bool</type><methodname>ingres_field_nullable</methodname> <methodparam><type>int</type><parameter>index</parameter></methodparam> - <methodparam><type>resource</type><parameter> - <replaceable><optional>link</optional></replaceable> - </parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam> </methodsynopsis> - &warn.experimental.func; <para> <function>ingres_field_nullable</function> は、フィールドに&null;が 設定可能な場合に &true;、設定できない場合に &false; を返します。 http://cvs.php.net/diff.php/phpdoc-ja/reference/ingres-ii/functions/ingres-field-name.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-ja/reference/ingres-ii/functions/ingres-field-name.xml diff -u phpdoc-ja/reference/ingres-ii/functions/ingres-field-name.xml:1.4 phpdoc-ja/reference/ingres-ii/functions/ingres-field-name.xml:1.5 --- phpdoc-ja/reference/ingres-ii/functions/ingres-field-name.xml:1.4 Sun Jan 2 02:23:35 2005 +++ phpdoc-ja/reference/ingres-ii/functions/ingres-field-name.xml Thu Aug 25 10:24:39 2005 @@ -1,6 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./ja/functions/ingres_ii.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.1 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: hirokawa Status: ready --> +<!-- CREDITS: takagi --> <refentry id="function.ingres-field-name"> <refnamediv> <refname>ingres_field_name</refname> @@ -11,25 +13,22 @@ <methodsynopsis> <type>string</type><methodname>ingres_field_name</methodname> <methodparam><type>int</type><parameter>index</parameter></methodparam> - <methodparam><type>resource</type><parameter> - <replaceable><optional>link</optional></replaceable> - </parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam> </methodsynopsis> - &warn.experimental.func; <para> - <function>ingres_field_name</function> は、クエリ結果の場合はフィー - ルド名、失敗した場合は &false; を返します。 + <function>ingres_field_name</function> は、クエリ結果の場合はフィールド名、 + 失敗した場合は &false; を返します。 </para> <para> <parameter>index</parameter> はフィールド番号であり、1 と - <function>ingres_num_fields</function> で指定した値の間である必要 - があります。 + <function>ingres_num_fields</function> で指定した値の間である必要が + あります。 </para> <para> <function>ingres_query</function>、 <function>ingres_fetch_array</function>、 - <function>ingres_fetch_object</function>、 - <function>ingres_fetch_row</function> も参照ください。 + <function>ingres_fetch_object</function>、および + <function>ingres_fetch_row</function> も参照ください。 </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-ja/reference/ingres-ii/functions/ingres-field-length.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-ja/reference/ingres-ii/functions/ingres-field-length.xml diff -u phpdoc-ja/reference/ingres-ii/functions/ingres-field-length.xml:1.4 phpdoc-ja/reference/ingres-ii/functions/ingres-field-length.xml:1.5 --- phpdoc-ja/reference/ingres-ii/functions/ingres-field-length.xml:1.4 Sun Jan 2 02:23:35 2005 +++ phpdoc-ja/reference/ingres-ii/functions/ingres-field-length.xml Thu Aug 25 10:24:39 2005 @@ -1,6 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./ja/functions/ingres_ii.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.1 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: hirokawa Status: ready --> +<!-- CREDITS: takagi --> <refentry id="function.ingres-field-length"> <refnamediv> <refname>ingres_field_length</refname> @@ -11,27 +13,24 @@ <methodsynopsis> <type>int</type><methodname>ingres_field_length</methodname> <methodparam><type>int</type><parameter>index</parameter></methodparam> - <methodparam><type>resource</type><parameter> - <replaceable><optional>link</optional></replaceable> - </parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam> </methodsynopsis> - &warn.experimental.func; <para> <function>ingres_field_length</function> はフィールド長を返します。 - フィールド長は、フィールドをサーバに保存する際に使用されるバイト - 数です。詳細な情報については、Ingres/OpenAPI User Guide の + フィールド長は、フィールドをサーバに保存する際に使用されるバイト数です。 + 詳細な情報については、Ingres/OpenAPI User Guide の Appendix C を参照ください。 </para> <para> <parameter>index</parameter> はフィールド番号であり、1 と - <function>ingres_num_fields</function> で指定した値の間である必要 - があります。 + <function>ingres_num_fields</function> で指定した値の間である必要が + あります。 </para> <para> - <function>ingres_query</function>, - <function>ingres_fetch_array</function>, - <function>ingres_fetch_object</function>, - <function>ingres_fetch_row</function> も参照ください。 + <function>ingres_query</function>、 + <function>ingres_fetch_array</function>、 + <function>ingres_fetch_object</function>、および + <function>ingres_fetch_row</function> も参照ください。 </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-ja/reference/ingres-ii/functions/ingres-fetch-row.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-ja/reference/ingres-ii/functions/ingres-fetch-row.xml diff -u phpdoc-ja/reference/ingres-ii/functions/ingres-fetch-row.xml:1.4 phpdoc-ja/reference/ingres-ii/functions/ingres-fetch-row.xml:1.5 --- phpdoc-ja/reference/ingres-ii/functions/ingres-fetch-row.xml:1.4 Sun Jan 2 02:23:35 2005 +++ phpdoc-ja/reference/ingres-ii/functions/ingres-fetch-row.xml Thu Aug 25 10:24:39 2005 @@ -1,20 +1,19 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./ja/functions/ingres_ii.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.1 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: hirokawa Status: ready --> +<!-- CREDITS: takagi --> <refentry id="function.ingres-fetch-row"> <refnamediv> <refname>ingres_fetch_row</refname> - <refpurpose>1行分の結果を数値添字配列として取得する</refpurpose> + <refpurpose>1 行分の結果を数値添字配列として取得する</refpurpose> </refnamediv> <refsect1> <title>説明</title> <methodsynopsis> <type>array</type><methodname>ingres_fetch_row</methodname> - <methodparam><type>resource</type><parameter> - <replaceable><optional>link</optional></replaceable> - </parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam> </methodsynopsis> - &warn.experimental.func; <para> <function>ingres_fetch_row</function> は取得したレコード(行)を有 する配列を返します。レコードがもうない場合は &false; を返します。各 @@ -31,9 +30,9 @@ <programlisting role="php"> <![CDATA[ <?php -ingres_connect ($database, $user, $password); +ingres_connect($database, $user, $password); -ingres_query ("select * from table"); +ingres_query("select * from table"); while ($row = ingres_fetch_row()) { echo $row[1]; echo $row[2]; http://cvs.php.net/diff.php/phpdoc-ja/reference/ingres-ii/functions/ingres-fetch-object.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-ja/reference/ingres-ii/functions/ingres-fetch-object.xml diff -u phpdoc-ja/reference/ingres-ii/functions/ingres-fetch-object.xml:1.4 phpdoc-ja/reference/ingres-ii/functions/ingres-fetch-object.xml:1.5 --- phpdoc-ja/reference/ingres-ii/functions/ingres-fetch-object.xml:1.4 Sun Jan 2 02:23:35 2005 +++ phpdoc-ja/reference/ingres-ii/functions/ingres-fetch-object.xml Thu Aug 25 10:24:39 2005 @@ -1,32 +1,29 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./ja/functions/ingres_ii.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.1 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 1.5 Maintainer: hirokawa Status: ready --> +<!-- CREDITS: takagi --> <refentry id="function.ingres-fetch-object"> <refnamediv> <refname>ingres_fetch_object</refname> - <refpurpose>1行分の結果をオブジェクトとして取得する</refpurpose> + <refpurpose>1 行分の結果をオブジェクトとして取得する</refpurpose> </refnamediv> <refsect1> <title>説明</title> <methodsynopsis> - <type>object</type><methodname>ingres_fetch_object</methodname> - <methodparam><type>int</type><parameter> - <replaceable><optional>result_type</optional></replaceable> - </parameter></methodparam> - <methodparam><type>resource</type><parameter> - <replaceable><optional>link</optional></replaceable> - </parameter></methodparam> + <type>object</type><methodname>ingres_fetch_object</methodname> + <methodparam choice="opt"><type>int</type><parameter>result_type</parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam> </methodsynopsis> <para> <function>ingres_fetch_object</function> は取得したレコード(行)を - オブジェクトとして返します。レコードがもうない場合は &false; を返し - ます。 + オブジェクトとして返します。レコードがもうない場合は &false; を返します。 </para> <para> この関数は <function>ingres_fetch_array</function> に似ていますが、 - 配列の代わりにオブジェクトが返されるという違いが一つあります。間 - 接的なアクセス、つまり、オフセットではなくフィールド名によりデー - タをアクセスすることのみが可能です(数値はプロパティ名としては使用 + 配列の代わりにオブジェクトが返されるという違いが一つあります。 + 間接的なアクセス、つまり、オフセットではなくフィールド名によりデータを + アクセスすることのみが可能です(数値はプロパティ名としては使用 できません)。 </para> <para> @@ -35,8 +32,8 @@ </para> <para> 速度の面では、この関数は <function>ingres_fetch_array</function> - と等価であり、<function>ingres_fetch_row</function> とほぼ同等で - す(違いは僅かです)。 + と等価であり、<function>ingres_fetch_row</function> とほぼ同等です + (違いは僅かです)。 </para> <para> <example> @@ -44,8 +41,8 @@ <programlisting role="php"> <![CDATA[ <?php -ingres_connect ($database, $user, $password); -ingres_query ("select * from table"); +ingres_connect($database, $user, $password); +ingres_query("select * from table"); while ($row = ingres_fetch_object()) { echo $row->user_id; echo $row->fullname; @@ -56,11 +53,11 @@ </example> </para> <para> - <function>ingres_query</function>, - <function>ingres_num_fields</function>, - <function>ingres_field_name</function>, - <function>ingres_fetch_array</function>, - <function>ingres_fetch_row</function> も参照ください。 + <function>ingres_query</function>、 + <function>ingres_num_fields</function>、 + <function>ingres_field_name</function>、 + <function>ingres_fetch_array</function>、および + <function>ingres_fetch_row</function> も参照ください。 </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-ja/reference/ingres-ii/functions/ingres-fetch-array.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-ja/reference/ingres-ii/functions/ingres-fetch-array.xml diff -u phpdoc-ja/reference/ingres-ii/functions/ingres-fetch-array.xml:1.4 phpdoc-ja/reference/ingres-ii/functions/ingres-fetch-array.xml:1.5 --- phpdoc-ja/reference/ingres-ii/functions/ingres-fetch-array.xml:1.4 Sun Jan 2 02:23:35 2005 +++ phpdoc-ja/reference/ingres-ii/functions/ingres-fetch-array.xml Thu Aug 25 10:24:39 2005 @@ -1,44 +1,44 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./ja/functions/ingres_ii.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.1 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 1.6 Maintainer: hirokawa Status: ready --> +<!-- CREDITS: takagi --> <refentry id="function.ingres-fetch-array"> <refnamediv> <refname>ingres_fetch_array</refname> - <refpurpose>1行分の結果を配列に取得する</refpurpose> + <refpurpose>1 行分の結果を配列に取得する</refpurpose> </refnamediv> <refsect1> <title>説明</title> <methodsynopsis> <type>array</type><methodname>ingres_fetch_array</methodname> - <methodparam><type>int</type><parameter> - <replaceable><optional>result_type</optional></replaceable> - </parameter></methodparam> - <methodparam><type>resource</type><parameter> - <replaceable><optional>link</optional></replaceable> - </parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>result_type</parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam> </methodsynopsis> <para> - <function>ingres_fetch_array</function> は、取得したレコード(行) - に対応する配列を返します。レコードがもうない場合は &false; を返しま - す。 + <function>ingres_fetch_array</function> は、取得したレコード(行)に + 対応する配列を返します。レコードがもうない場合は &false; を返します。 </para> <para> この関数は、<function>ingres_fetch_row</function> の拡張版です。 - 結果として返される配列の数値添字にデータを保存するだけでなく、フィー - ルド名をキーとして連想配列にもデータが保存されます。 + 結果として返される配列の数値添字にデータを保存するだけでなく、 + フィールド名をキーとして連想配列にもデータが保存されます。 </para> <para> 結果において複数のカラムが同じフィールド名を有している場合、後の - カラムが優先されます。同名の他のカラムにアクセスするには、カラム - の添字番号を使用するか、カラムのエイリアスを作成する必要がありま - す。 + カラムが優先されます。同名の他のカラムにアクセスするには、カラムの + 添字番号を使用するか、カラムのエイリアスを作成する必要があります。 <informalexample> <programlisting role="php"> <![CDATA[ -ingres_query(select t1.f1 as foo t2.f1 as bar from t1, t2); +<?php + +ingres_query("select t1.f1 as foo t2.f1 as bar from t1, t2"); $result = ingres_fetch_array(); $foo = $result["foo"]; $bar = $result["bar"]; + +?> ]]> </programlisting> </informalexample> @@ -49,9 +49,9 @@ INGRES_BOTH(デフォルト)を指定可能です。 </para> <para> - 速度面では、この関数は<function>ingres_fetch_object</function> - と同じで、<function>ingres_fetch_row</function> とほぼ同等です(差 - は僅かです)。 + 速度面では、この関数は <function>ingres_fetch_object</function> + と同じで、<function>ingres_fetch_row</function> とほぼ同等です + (差は僅かです)。 </para> <para> <example> @@ -59,13 +59,13 @@ <programlisting role="php"> <![CDATA[ <?php -ingres_connect ($database, $user, $password); +ingres_connect($database, $user, $password); ingres_query ("select * from table"); while ($row = ingres_fetch_array()) { - echo $row["user_id"]; # 連想配列を使用する + echo $row["user_id"]; // 連想配列を使用する echo $row["fullname"]; - echo $row[1]; # 数値添字配列を使用する + echo $row[1]; // 数値添字配列を使用する echo $row[2]; } ?> @@ -78,7 +78,7 @@ <function>ingres_num_fields</function>, <function>ingres_field_name</function>, <function>ingres_fetch_object</function>, - <function>ingres_fetch_row</function> も参照ください。 + <function>ingres_fetch_row</function> も参照ください。 </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-ja/reference/ingres-ii/functions/ingres-connect.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-ja/reference/ingres-ii/functions/ingres-connect.xml diff -u phpdoc-ja/reference/ingres-ii/functions/ingres-connect.xml:1.4 phpdoc-ja/reference/ingres-ii/functions/ingres-connect.xml:1.5 --- phpdoc-ja/reference/ingres-ii/functions/ingres-connect.xml:1.4 Sun Jan 2 02:23:35 2005 +++ phpdoc-ja/reference/ingres-ii/functions/ingres-connect.xml Thu Aug 25 10:24:39 2005 @@ -1,6 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./ja/functions/ingres_ii.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.1 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 1.5 Maintainer: hirokawa Status: ready --> +<!-- CREDITS: takagi --> <refentry id="function.ingres-connect"> <refnamediv> <refname>ingres_connect</refname> @@ -10,25 +12,18 @@ <title>説明</title> <methodsynopsis> <type>resource</type><methodname>ingres_connect</methodname> - <methodparam><type>string</type><parameter> - <replaceable><optional>database</optional></replaceable> - </parameter></methodparam> - <methodparam><type>string</type><parameter> - <replaceable><optional>username</optional></replaceable> - </parameter></methodparam> - <methodparam><type>string</type><parameter> - <replaceable><optional>password</optional></replaceable> - </parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>database</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>username</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>password</parameter></methodparam> </methodsynopsis> - &warn.experimental.func; <para> 成功時に Ingres II リンクリソース、失敗した際に &false; を返します。 </para> <para> <function>ingres_connect</function> は、 - <parameter>database</parameter> とこの後に続く - <parameter>[node_id::]dbname[/svr_class]</parameter> 構文により指 - 定された Ingres データベースへの接続をオープンします。 + <parameter>database</parameter> 、そしてその後に続く + <parameter>[node_id::]dbname[/svr_class]</parameter> 構文により + 指定された Ingres データベースへの接続をオープンします。 </para> <para> いくつかのパラメータが欠けている場合、 @@ -40,45 +35,47 @@ </para> <para> 接続は、スクリプトの実行終了時または、このリンクについて - <function>ingres_close</function> がコールされた場合にクローズさ - れます。 + <function>ingres_close</function> がコールされた場合に + クローズされます。 </para> <para> - 他の全ての Ingres 関数は、デフォルトで直近にオープンされたリンク - を使用します。このため、複数のリンクを同時に使用したい場合には、 + 他の全ての Ingres 関数は、デフォルトで直近にオープンされたリンクを + 使用します。このため、複数のリンクを同時に使用したい場合には、 返された値を保存しておく必要があります。 </para> - <example> - <title><function>ingres_connect</function> の例</title> - <programlisting role="php"> + <para> + <example> + <title><function>ingres_connect</function> の例</title> + <programlisting role="php"> <![CDATA[ <?php - $link = ingres_connect ("mydb", "user", "pass") - or die ("Could not connect"); - print ("Connected successfully"); - ingres_close ($link); + $link = ingres_connect("mydb", "user", "pass") + or die("Could not connect"); + echo "Connected successfully"; + ingres_close($link); ?> ]]> - </programlisting> - </example> - <example> - <title> - デフォルトリンクを使用する<function>ingres_connect</function>の例 - </title> - <programlisting role="php"> + </programlisting> + </example> + <example> + <title> + デフォルトリンクを使用する <function>ingres_connect</function> の例 + </title> + <programlisting role="php"> <![CDATA[ <?php - ingres_connect ("mydb", "user", "pass") - or die ("Could not connect"); - print ("Connected successfully"); - ingres_close (); + ingres_connect("mydb", "user", "pass") + or die("Could not connect"); + echo "Connected successfully"; + ingres_close(); ?> ]]> - </programlisting> - </example> + </programlisting> + </example> + </para> <para> <function>ingres_pconnect</function> および - <function>ingres_close</function>も参照ください。 + <function>ingres_close</function> も参照ください。 </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-ja/reference/ingres-ii/functions/ingres-commit.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-ja/reference/ingres-ii/functions/ingres-commit.xml diff -u phpdoc-ja/reference/ingres-ii/functions/ingres-commit.xml:1.4 phpdoc-ja/reference/ingres-ii/functions/ingres-commit.xml:1.5 --- phpdoc-ja/reference/ingres-ii/functions/ingres-commit.xml:1.4 Sun Jan 2 02:23:35 2005 +++ phpdoc-ja/reference/ingres-ii/functions/ingres-commit.xml Thu Aug 25 10:24:39 2005 @@ -1,6 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./ja/functions/ingres_ii.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.1 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: hirokawa Status: ready --> +<!-- CREDITS: takagi --> <refentry id="function.ingres-commit"> <refnamediv> <refname>ingres_commit</refname> @@ -10,28 +12,25 @@ <title>説明</title> <methodsynopsis> <type>bool</type><methodname>ingres_commit</methodname> - <methodparam><type>resource</type><parameter> - <replaceable><optional>link</optional></replaceable> - </parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam> </methodsynopsis> - &warn.experimental.func; <para> - <function>ingres_commit</function> は現在オープンされているトラン - ザクションをオープンし、全ての変更をデータベースに保存します。 + <function>ingres_commit</function> は現在オープンされている + トランザクションをコミットし、全ての変更をデータベースに保存します。 </para> <para> この関数はトランザクションをクローズします。 - <function>ingres_query</function> によりクエリを送信することによ - り、新規のトランザクションをオープンすることが可能です。 + <function>ingres_query</function> によりクエリを送信することにより、 + 新規のトランザクションをオープンすることが可能です。 </para> <para> トランザクションをオープンする前に - <function>ingres_autocommit</function> をコールすることにより、各 - クエリの後に自動的にサーバ側でコミットを行うことも可能です。 + <function>ingres_autocommit</function> をコールすることにより、 + 各クエリの後に自動的にサーバ側でコミットを行うことも可能です。 </para> <para> - <function>ingres_query</function>, - <function>ingres_rollback</function>, + <function>ingres_query</function>、 + <function>ingres_rollback</function>、および <function>ingres_autocommit</function>も参照ください。 </para> </refsect1> http://cvs.php.net/diff.php/phpdoc-ja/reference/ingres-ii/functions/ingres-close.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-ja/reference/ingres-ii/functions/ingres-close.xml diff -u phpdoc-ja/reference/ingres-ii/functions/ingres-close.xml:1.4 phpdoc-ja/reference/ingres-ii/functions/ingres-close.xml:1.5 --- phpdoc-ja/reference/ingres-ii/functions/ingres-close.xml:1.4 Sun Jan 2 02:23:35 2005 +++ phpdoc-ja/reference/ingres-ii/functions/ingres-close.xml Thu Aug 25 10:24:40 2005 @@ -1,6 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./ja/functions/ingres_ii.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.1 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: hirokawa Status: ready --> +<!-- CREDITS: takagi --> <refentry id="function.ingres-close"> <refnamediv> <refname>ingres_close</refname> @@ -10,23 +12,20 @@ <title>説明</title> <methodsynopsis> <type>bool</type><methodname>ingres_close</methodname> - <methodparam><type>resource</type><parameter> - <replaceable><optional>link</optional></replaceable> - </parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam> </methodsynopsis> - &warn.experimental.func; <para> - 成功時に&true;、失敗時に&false;を返します。 + 成功時に &true;、失敗時に &false; を返します。 </para> <para> <function>ingres_close</function> は、指定したリンクが指す Ingres サーバへの接続をクローズします。パラメータ - <parameter>link</parameter>が指定されない場合、直近にオープンされ - たリンクが使用されます。 + <parameter>link</parameter> が指定されない場合、直近にオープンされた + リンクが使用されます。 </para> <para> - 持続的接続をクローズすることはできず、持続的でない接続はスクリプ - トの終了時に自動的にクローズされるため、 + 持続的接続をクローズすることはできず、持続的でない接続はスクリプトの + 終了時に自動的にクローズされるため、 <function>ingres_close</function> は通常は不要です。 </para> <para> http://cvs.php.net/diff.php/phpdoc-ja/reference/ingres-ii/functions/ingres-autocommit.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-ja/reference/ingres-ii/functions/ingres-autocommit.xml diff -u phpdoc-ja/reference/ingres-ii/functions/ingres-autocommit.xml:1.4 phpdoc-ja/reference/ingres-ii/functions/ingres-autocommit.xml:1.5 --- phpdoc-ja/reference/ingres-ii/functions/ingres-autocommit.xml:1.4 Sun Jan 2 02:23:35 2005 +++ phpdoc-ja/reference/ingres-ii/functions/ingres-autocommit.xml Thu Aug 25 10:24:40 2005 @@ -1,38 +1,37 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./ja/functions/ingres_ii.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.1 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 1.5 Maintainer: hirokawa Status: ready --> +<!-- CREDITS: takagi --> <refentry id="function.ingres-autocommit"> <refnamediv> <refname>ingres_autocommit</refname> - <refpurpose>autocommitをオンまたはオフに切替える</refpurpose> + <refpurpose>autocommit をオンまたはオフに切替える</refpurpose> </refnamediv> <refsect1> <title>説明</title> <methodsynopsis> <type>bool</type><methodname>ingres_autocommit</methodname> - <methodparam><type>resource</type><parameter> - <replaceable><optional>link</optional></replaceable> - </parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam> </methodsynopsis> - &warn.experimental.func; <para> <function>ingres_autocommit</function> は、サーバの "autocommit" - モードをオンまたはオフに切替えるために、トランザクションをオープ - ンする前(最初に<function>ingres_query</function>をコールする前ま - たは<function>ingres_rollback</function>または - <function>ingres_autocommit</function>をコールした直後)にコールさ - れます(スクリプトの実行開始には、autocommitモードはオフです)。 + モードをオンまたはオフに切替えるために、トランザクションをオープンする前 + (最初に <function>ingres_query</function> をコールする前、または + <function>ingres_rollback</function> あるいは + <function>ingres_commit</function> をコールした直後) にコールされます + (スクリプトの実行開始には、autocommit モードはオフです)。 </para> <para> - autocommit モードがオンの場合、各クエリはサーバにより自動的にコミッ - トされます。これは、<function>ingres_query</function> をコールし - た後に常に <function>ingres_commit</function> をコールすることと + autocommit モードがオンの場合、各クエリはサーバにより自動的にコミット + されます。これは、<function>ingres_query</function> をコールした後に + 常に <function>ingres_commit</function> をコールすることと 等価です。 </para> <para> - <function>ingres_query</function>, - <function>ingres_rollback</function>, - <function>ingres_commit</function>も参照ください。 + <function>ingres_query</function>、 + <function>ingres_rollback</function>、および + <function>ingres_commit</function> も参照ください。 </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-ja/reference/ingres-ii/reference.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-ja/reference/ingres-ii/reference.xml diff -u phpdoc-ja/reference/ingres-ii/reference.xml:1.4 phpdoc-ja/reference/ingres-ii/reference.xml:1.5 --- phpdoc-ja/reference/ingres-ii/reference.xml:1.4 Fri Dec 13 07:02:48 2002 +++ phpdoc-ja/reference/ingres-ii/reference.xml Thu Aug 25 10:24:48 2005 @@ -1,5 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.8 Maintainer: hirokawa Status: ready --> +<!-- CREDITS: takagi --> <reference id="ref.ingres"> <title>Ingres II 関数</title> <titleabbrev>Ingres II</titleabbrev> @@ -8,29 +10,28 @@ <section id="ingres.intro"> &reftitle.intro; <para> - 以下の関数により、Ingres II データベースサーバにアクセスできるよ - うになります。 + 以下の関数により、Ingres II データベースサーバにアクセスできるように + なります。 </para> <note> <para> - 他のデータベースサーバにアクセスするために既にPHP 拡張モジュール - を使用している場合、Ingres は同一のコネクションについて複数のクエ - リやトランザクションの並列実行ができない、つまり、この拡張モジュー - ルにおいて結果およびトランザクションのハンドルを得ることができない - ことに注意する必要があります。クエリの結果は、別のクエリを送信す - る前に処理する必要があり、トランザクションは別のトランザクション - をオープンする前にコミットまたはロールバックする必要があります。 - (これは、最初のクエリを送信する際に自動的に行われます) + 既に他のデータベースサーバにアクセスするための PHP 拡張モジュールを + 使用している場合、Ingres は同一のコネクションについて複数のクエリや + トランザクションの並列実行ができない、つまり、この拡張モジュールに + おいて結果およびトランザクションのハンドルを得ることができないことに + 注意する必要があります。クエリの結果は、別のクエリを送信する前に + 処理する必要があり、トランザクションは別のトランザクションを + オープンする前にコミットまたはロールバックする必要があります + (これは、最初のクエリを送信する際に自動的に行われます)。 </para> </note> - &warn.experimental; </section> <section id="ingres.requirements"> &reftitle.required; <para> - Ingresサポートを有効にしてPHPをコンパイルするには、Ingres IIに付属 - するOpen APIライブラリとヘッダファイルが必要です。 + Ingres サポートを有効にして PHP をコンパイルするには、Ingres II に + 付属する Open API ライブラリとヘッダファイルが必要です。 </para> </section> http://cvs.php.net/diff.php/phpdoc-ja/reference/ingres-ii/ini.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-ja/reference/ingres-ii/ini.xml diff -u phpdoc-ja/reference/ingres-ii/ini.xml:1.2 phpdoc-ja/reference/ingres-ii/ini.xml:1.3 --- phpdoc-ja/reference/ingres-ii/ini.xml:1.2 Sun Jan 2 02:23:35 2005 +++ phpdoc-ja/reference/ingres-ii/ini.xml Thu Aug 25 10:24:48 2005 @@ -1,17 +1,20 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.5 Maintainer: hirokawa Status: ready --> +<!-- CREDITS: takagi --> <section id="ingres.configuration"> &reftitle.runtime; &extension.runtime; <para> <table> - <title>Ingres II設定オプション</title> - <tgroup cols="3"> + <title>Ingres II 設定オプション</title> + <tgroup cols="4"> <thead> <row> <entry>名前</entry> <entry>デフォルト</entry> <entry>変更の可否</entry> + <entry>変更履歴</entry> </row> </thead> <tbody> @@ -19,37 +22,42 @@ <entry>ingres.allow_persistent</entry> <entry>"1"</entry> <entry>PHP_INI_SYSTEM</entry> + <entry>PHP 4.0.2 以降で有効です。</entry> </row> <row> <entry>ingres.max_persistent</entry> <entry>"-1"</entry> <entry>PHP_INI_SYSTEM</entry> + <entry>PHP 4.0.2 以降で有効です。</entry> </row> <row> <entry>ingres.max_links</entry> <entry>"-1"</entry> <entry>PHP_INI_SYSTEM</entry> + <entry>PHP 4.0.2 以降で有効です。</entry> </row> <row> <entry>ingres.default_database</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> + <entry>PHP 4.0.2 以降で有効です。</entry> </row> <row> <entry>ingres.default_user</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> + <entry>PHP 4.0.2 以降で有効です。</entry> </row> <row> <entry>ingres.default_password</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> + <entry>PHP 4.0.2 以降で有効です。</entry> </row> </tbody> </tgroup> - </table> - PHP_INI_*定数の詳細と定義については、<function>ini_set</function>を - 参照してください。 + </table> + &ini.php.constants; </para> </section> http://cvs.php.net/diff.php/phpdoc-ja/reference/ingres-ii/configure.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-ja/reference/ingres-ii/configure.xml diff -u phpdoc-ja/reference/ingres-ii/configure.xml:1.2 phpdoc-ja/reference/ingres-ii/configure.xml:1.3 --- phpdoc-ja/reference/ingres-ii/configure.xml:1.2 Sun Jan 2 02:23:35 2005 +++ phpdoc-ja/reference/ingres-ii/configure.xml Thu Aug 25 10:24:48 2005 @@ -1,15 +1,22 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: hirokawa Status: ready --> +<!-- CREDITS: takagi --> <section id="ingres.installation"> &reftitle.install; <para> + &pecl.moved; + &pecl.info; + <ulink url="&url.pecl.package;ingres">&url.pecl.package;ingres</ulink>. + </para> + <para> これらの関数を利用可能とするには、オプション - <option role="configure">--with-ingres[=DIR]</option>を付けてIngresサ - ポートを有効にしてPHPをコンパイルする必要があります。ただし、DIRは - Ingresベースディレクトリで、<filename>/II/ingres</filename>がデフォ - ルトです。環境変数II_SYSTEMが正しく設定されていない場合、 - Ingresをインストールしたディレクトリを指定するために - <option role="configure">--with-ingres=DIR</option>を使用することが + <option role="configure">--with-ingres[=DIR]</option> を付け、 Ingres + サポートを有効にして PHP をコンパイルする必要があります。ただし、DIR は + Ingres ベースディレクトリで、<filename>/II/ingres</filename> が + デフォルトです。環境変数 II_SYSTEM が正しく設定されていない場合、 + Ingres をインストールしたディレクトリを指定するために + <option role="configure">--with-ingres=DIR</option> を使用することが 必要となる可能性があります。 </para> <para> @@ -17,8 +24,8 @@ "PHP Fatal error: Unable to start ingres_ii module in Unknown on line 0" というエラーが発生する場合、 環境変数 II_SYSTEM が正確に設定されているかどうかを確認してください。 - "export II_SYSTEM="/home/ingres/II" を Apache を開始するスクリプト - に追加してください。この後、httpd を起動すれば、うまくいくはずです。 + "export II_SYSTEM="/home/ingres/II" を Apache を開始するスクリプトに + 追加してください。この後に httpd を起動すればうまくいくはずです。 </para> </section> http://cvs.php.net/co.php/phpdoc-ja/reference/ingres-ii/constants.xml?r=1.1&p=1 Index: phpdoc-ja/reference/ingres-ii/constants.xml +++ phpdoc-ja/reference/ingres-ii/constants.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: hirokawa Status: ready --> <!-- CREDITS: takagi --> <section id="ingres.constants"> &reftitle.constants; &extension.constants; <variablelist> <varlistentry> <term> <constant>INGRES_ASSOC</constant> (<type>integer</type>) </term> <listitem> <simpara> </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>INGRES_NUM</constant> (<type>integer</type>) </term> <listitem> <simpara> </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>INGRES_BOTH</constant> (<type>integer</type>) </term> <listitem> <simpara> </simpara> </listitem> </varlistentry> </variablelist> </section> <!-- 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 indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: -->
« previous php.doc.ja (#1156) next »