hirokawa                Sun Jun 16 07:29:19 2002 EDT

  Modified files:              
    /phpdoc-ja/reference/classobj/functions     call-user-method-array.xml 
                                                call-user-method.xml 
    /phpdoc-ja/reference/funchand/functions     call-user-func-array.xml 
                                                call-user-func.xml 
    /phpdoc-ja/reference/pcre/functions preg-match.xml 
    /phpdoc-ja/reference/pgsql/functions        pg-convert.xml 
    /phpdoc-ja/reference/uodbc/functions        odbc-fetch-into.xml 
                                                odbc-fetch-row.xml 
  Log:
  update translation.
  
Index: phpdoc-ja/reference/classobj/functions/call-user-method-array.xml
diff -u phpdoc-ja/reference/classobj/functions/call-user-method-array.xml:1.1 
phpdoc-ja/reference/classobj/functions/call-user-method-array.xml:1.2
--- phpdoc-ja/reference/classobj/functions/call-user-method-array.xml:1.1       Sun 
Apr 14 20:58:09 2002
+++ phpdoc-ja/reference/classobj/functions/call-user-method-array.xml   Sun Jun 16 
+07:29:13 2002
@@ -1,39 +1,46 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- splitted from ./ja/functions/classobj.xml, last change in rev 1.9 -->
 <!-- last change to 'call-user-method-array' in en/ tree in rev 1.36 -->
-  <refentry id="function.call-user-method-array">
-   <refnamediv>
-    <refname>call_user_method_array</refname>
-    <refpurpose>
-     パラメータの配列を指定してユーザメソッドをコールする
-    </refpurpose>
-   </refnamediv>
-   <refsect1>
-    <title>説明</title>
-     <methodsynopsis>
-      <type>mixed</type><methodname>call_user_method_array</methodname>
-      <methodparam><type>string</type><parameter>method_name</parameter></methodparam>
-      <methodparam><type>object</type><parameter>obj</parameter></methodparam>
-      <methodparam 
choice="opt"><type>array</type><parameter>paramarr</parameter></methodparam>
-     </methodsynopsis>
-    <para>
-     パラメータ <parameter>paramarr</parameter> を使用してユーザ定義オ
-     ブジェクト <parameter>obj</parameter>から
-     <parameter>method_name</parameter>で参照されるメソッドをコールし
-     ます。
-    </para>
-    <para>
-     <function>call_user_func_array</function>,
-     <function>call_user_func</function>,
-     <function>call_user_method</function>も参照下さい。
-    </para>
-    <note>
-     <para>
-      この関数は、PHP 
4.0.4pl1のリリース後にCVSコードに追加されました。
-     </para>
-    </note>
-   </refsect1>
-  </refentry>
+<refentry id="function.call-user-method-array">
+ <refnamediv>
+  <refname>call_user_method_array</refname>
+  <refpurpose>
+   パラメータの配列を指定してユーザメソッドをコールする
+  </refpurpose>
+ </refnamediv>
+ <refsect1>
+  <title>説明</title>
+  <methodsynopsis>
+   <type>mixed</type><methodname>call_user_method_array</methodname>
+   <methodparam><type>string</type><parameter>method_name</parameter></methodparam>
+   <methodparam><type>object</type><parameter>obj</parameter></methodparam>
+   <methodparam 
+choice="opt"><type>array</type><parameter>paramarr</parameter></methodparam>
+  </methodsynopsis>
+  <warning>
+   <para>
+    PHP 4.1.0以降、<function>call_user_method</function>関数は古い関数
+    となっています。代わりに<literal>array(&amp;$obj,
+    "method_name")</literal>構文を指定して
+    <function>call_user_func</function>等を使用して下さい。
+   </para>
+  </warning>
+  <para>
+   
+パラメータ<parameter>paramarr</parameter>を使用してユーザ定義オブジェ
+   クト<parameter>obj</parameter>から
+   
+<parameter>method_name</parameter>で参照されるメソッドをコールします。
+  </para>
+  <para>
+   <function>call_user_func_array</function>,
+   <function>call_user_func</function>,
+   <function>call_user_method</function>も参照下さい。
+  </para>
+  <note>
+   <para>
+    この関数は、PHP 
+4.0.4pl1のリリース後にCVSコードに追加されました。
+   </para>
+  </note>
+ </refsect1>
+</refentry>
 
 <!-- Keep this comment at the end of the file
 Local variables:
Index: phpdoc-ja/reference/classobj/functions/call-user-method.xml
diff -u phpdoc-ja/reference/classobj/functions/call-user-method.xml:1.1 
phpdoc-ja/reference/classobj/functions/call-user-method.xml:1.2
--- phpdoc-ja/reference/classobj/functions/call-user-method.xml:1.1     Sun Apr 14 
20:58:10 2002
+++ phpdoc-ja/reference/classobj/functions/call-user-method.xml Sun Jun 16 07:29:13 
+2002
@@ -1,35 +1,39 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- splitted from ./ja/functions/classobj.xml, last change in rev 1.3 -->
 <!-- last change to 'call-user-method' in en/ tree in rev 1.4 -->
-  <refentry id="function.call-user-method">
-   <refnamediv>
-    <refname>call_user_method</refname>
-    <refpurpose>
-     指定したオブジェクトのユーザーメソッドをコールする
-    </refpurpose>
-   </refnamediv>
-   <refsect1>
-    <title>説明</title>
-     <methodsynopsis>
-      <type>mixed</type><methodname>call_user_method</methodname>
-      <methodparam><type>string</type><parameter>method_name</parameter></methodparam>
-      <methodparam><type>object</type><parameter>obj</parameter></methodparam>
-      <methodparam><type>mixed</type><parameter>
-       <replaceable><optional>parameter</optional></replaceable>
-       </parameter></methodparam>
-      <methodparam><type>mixed</type><parameter>
-       <replaceable><optional>...</optional></replaceable>
-       </parameter></methodparam>
-     </methodsynopsis>
-    <para>
-     ユーザ定義のオブジェクト<parameter>obj</parameter>から
-     <parameter>method_name</parameter>により参照されるメソッドをコー
-     
ルします。以下に使用例を示します。ここでは、クラスを定義し、オブ
-     ジェクトのインスタンスを作成し、
-     <function>call_user_method</function>を用いて、間接的に
-     
そのクラスのメソッド<varname>print_info</varname>をコールします。
-     <informalexample>
-      <programlisting role="php">
+<refentry id="function.call-user-method">
+ <refnamediv>
+  <refname>call_user_method</refname>
+  <refpurpose>
+   指定したオブジェクトのユーザーメソッドをコールする
+  </refpurpose>
+ </refnamediv>
+ <refsect1>
+  <title>説明</title>
+  <methodsynopsis>
+   <type>mixed</type><methodname>call_user_method</methodname>
+   <methodparam><type>string</type><parameter>method_name</parameter></methodparam>
+   <methodparam><type>object</type><parameter>obj</parameter></methodparam>
+   <methodparam 
+choice="opt"><type>mixed</type><parameter>parameter</parameter></methodparam>
+   <methodparam 
+choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
+  </methodsynopsis>
+  <warning>
+   <para>
+    PHP 4.1.0以降、<function>call_user_method</function>関数は古い関数
+    となっています。代わりに<literal>array(&amp;$obj,
+    "method_name")</literal>構文を指定して
+    <function>call_user_func</function>等を使用して下さい。
+   </para>
+  </warning>
+  <para>
+   ユーザ定義のオブジェクト<parameter>obj</parameter>から
+   <parameter>method_name</parameter>により参照されるメソッドをコー
+   
+ルします。以下に使用例を示します。ここでは、クラスを定義し、オブ
+   ジェクトのインスタンスを作成し、
+   <function>call_user_method</function>を用いて、間接的に
+   そのクラスのメソッド<varname>print_info</varname>をコールします。
+   <informalexample>
+    <programlisting role="php">
 <![CDATA[
 <?php
 class Country {
@@ -56,16 +60,16 @@
 call_user_method ("print_info", $cntry, "\t");
 ?>
 ]]>
-      </programlisting>
-     </informalexample>
-    </para>
-    <simpara>
-     <function>call_user_func_array</function>,
-     <function>call_user_func</function>,
-     <function>call_user_method_array</function> も参照下さい。
-    </simpara>
-   </refsect1>
-  </refentry>
+    </programlisting>
+   </informalexample>
+  </para>
+  <simpara>
+   <function>call_user_func_array</function>,
+   <function>call_user_func</function>,
+   <function>call_user_method_array</function> も参照下さい。
+  </simpara>
+ </refsect1>
+</refentry>
 
 <!-- Keep this comment at the end of the file
 Local variables:
Index: phpdoc-ja/reference/funchand/functions/call-user-func-array.xml
diff -u phpdoc-ja/reference/funchand/functions/call-user-func-array.xml:1.1 
phpdoc-ja/reference/funchand/functions/call-user-func-array.xml:1.2
--- phpdoc-ja/reference/funchand/functions/call-user-func-array.xml:1.1 Sun Apr 14 
21:03:59 2002
+++ phpdoc-ja/reference/funchand/functions/call-user-func-array.xml     Sun Jun 16 
+07:29:13 2002
@@ -1,26 +1,27 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- splitted from ./ja/functions/funchand.xml, last change in rev 1.6 -->
 <!-- last change to 'call-user-func-array' in en/ tree in rev 1.10 -->
-  <refentry id="function.call-user-func-array">
-   <refnamediv>
-    <refname>call_user_func_array</refname>
-    <refpurpose>
-     パラメータの配列を指定してユーザ関数をコールする
-    </refpurpose>
-   </refnamediv>
-   <refsect1>
-    <title>説明</title>
-     <methodsynopsis>
-      <type>mixed</type><methodname>call_user_func_array</methodname>
-      
<methodparam><type>string</type><parameter>function_name</parameter></methodparam>
-      <methodparam 
choice="opt"><type>array</type><parameter>paramarr</parameter></methodparam>
-     </methodsynopsis>
-    <para>
-     <parameter>paramarr</parameter> にパラメータを指定して、
-     <parameter>function_name</parameter>で指定したユーザ定義関数をコー
-     ルします。例えば次のようになります。
-     <informalexample>
-      <programlisting role="php">
+<refentry id="function.call-user-func-array">
+ <refnamediv>
+  <refname>call_user_func_array</refname>
+  <refpurpose>
+   パラメータの配列を指定してユーザ関数をコールする
+  </refpurpose>
+ </refnamediv>
+ <refsect1>
+  <title>説明</title>
+  <methodsynopsis>
+   <type>mixed</type><methodname>call_user_func_array</methodname>
+   <methodparam><type>string</type><parameter>function_name</parameter></methodparam>
+   <methodparam 
+choice="opt"><type>array</type><parameter>paramarr</parameter></methodparam>
+  </methodsynopsis>
+  <para>
+   <parameter>paramarr</parameter> にパラメータを指定して、
+   <parameter>function_name</parameter>で指定したユーザ定義関数をコー
+   ルします。例えば次のようになります。
+   <informalexample>
+    <programlisting role="php">
+<![CDATA[
 function debug($var, $val)
     echo "***DEBUGGING\nVARIABLE: $var\nVALUE:";
     if (is_array($val) || is_object($val) || is_resource($val))
@@ -36,21 +37,22 @@
 call_user_func_array ('debug', array("host", $host));
 call_user_func_array ('debug', array("c", $c));
 call_user_func_array ('debug', array("HTTP_POST_VARS", $HTTP_POST_VARS));
-      </programlisting>
-     </informalexample>
-    </para>
-    <para>
-     <function>call_user_func</function>,
-     <function>call_user_method</function>,
-     <function>call_user_method_array</function>も参照下さい。
-    </para>
-    <note>
-     <para>
-      この関数は、PHP 
4.0.4pl1のリリース後にCVSコードに追加されました。
-     </para>
-    </note>
-   </refsect1>
-  </refentry>
+]]>
+    </programlisting>
+   </informalexample>
+  </para>
+  <para>
+   <function>call_user_func</function>,
+   <function>call_user_method</function>,
+   <function>call_user_method_array</function>も参照下さい。
+  </para>
+  <note>
+   <para>
+    この関数は、PHP 
+4.0.4pl1のリリース後にCVSコードに追加されました。
+   </para>
+  </note>
+ </refsect1>
+</refentry>
 
 <!-- Keep this comment at the end of the file
 Local variables:
Index: phpdoc-ja/reference/funchand/functions/call-user-func.xml
diff -u phpdoc-ja/reference/funchand/functions/call-user-func.xml:1.1 
phpdoc-ja/reference/funchand/functions/call-user-func.xml:1.2
--- phpdoc-ja/reference/funchand/functions/call-user-func.xml:1.1       Sun Apr 14 
21:04:00 2002
+++ phpdoc-ja/reference/funchand/functions/call-user-func.xml   Sun Jun 16 07:29:13 
+2002
@@ -1,45 +1,43 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- splitted from ./ja/functions/funchand.xml, last change in rev 1.1 -->
 <!-- last change to 'call-user-func' in en/ tree in rev 1.1 -->
-  <refentry id="function.call-user-func">
-   <refnamediv>
-    <refname>call_user_func</refname>
-    <refpurpose>
-     最初の引数で指定したユーザ関数をコールする
-    </refpurpose>
-   </refnamediv>
-   <refsect1>
-    <title>説明</title>
-     <methodsynopsis>
-      <type>mixed</type><methodname>call_user_func</methodname>
-      
<methodparam><type>string</type><parameter>function_name</parameter></methodparam>
-      <methodparam><type>mixed</type><parameter>
-       <replaceable><optional>parameter</optional></replaceable>
-       </parameter></methodparam>
-      <methodparam><type>mixed</type><parameter>
-       <replaceable><optional>...</optional></replaceable>
-       </parameter></methodparam>
-     </methodsynopsis>
-    <para>
-     
パラメータ<parameter>function_name</parameter>で指定したユーザ定義関数
-     をコールします。次のようにして下さい。
-     <informalexample>
-      <programlisting role="php">
+<refentry id="function.call-user-func">
+ <refnamediv>
+  <refname>call_user_func</refname>
+  <refpurpose>
+   最初の引数で指定したユーザ関数をコールする
+  </refpurpose>
+ </refnamediv>
+ <refsect1>
+  <title>説明</title>
+  <methodsynopsis>
+   <type>mixed</type><methodname>call_user_func</methodname>
+   <methodparam><type>string</type><parameter>function_name</parameter></methodparam>
+   <methodparam 
+choice="opt"><type>mixed</type><parameter>parameter</parameter></methodparam>
+   <methodparam 
+choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
+  </methodsynopsis>
+  <para>
+   パラメータ<parameter>function_name</parameter>で指定したユーザ定義
+   関数をコールします。次のようにして下さい。
+   <informalexample>
+    <programlisting role="php">
+<![CDATA[
 function barber ($type) {
     print "You wanted a $type haircut, no problem";
 }
 call_user_func ('barber', "mushroom");
 call_user_func ('barber', "shave");
-      </programlisting>
-     </informalexample>
-    </para>
-    <para>
-     <function>call_user_func_array</function>,
-     <function>call_user_method</function>,
-     <function>call_user_method_array</function>も参照下さい。
-    </para>
-   </refsect1>
-  </refentry>
+]]>
+    </programlisting>
+   </informalexample>
+  </para>
+  <para>
+   <function>call_user_func_array</function>,
+   <function>call_user_method</function>,
+   <function>call_user_method_array</function>も参照下さい。
+  </para>
+ </refsect1>
+</refentry>
 
 <!-- Keep this comment at the end of the file
 Local variables:
Index: phpdoc-ja/reference/pcre/functions/preg-match.xml
diff -u phpdoc-ja/reference/pcre/functions/preg-match.xml:1.1 
phpdoc-ja/reference/pcre/functions/preg-match.xml:1.2
--- phpdoc-ja/reference/pcre/functions/preg-match.xml:1.1       Sun Apr 14 21:13:03 
2002
+++ phpdoc-ja/reference/pcre/functions/preg-match.xml   Sun Jun 16 07:29:14 2002
@@ -1,40 +1,42 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- splitted from ./ja/functions/pcre.xml, last change in rev 1.1 -->
 <!-- last change to 'preg-match' in en/ tree in rev 1.2 -->
-  <refentry id="function.preg-match">
-   <refnamediv>
-    <refname>preg_match</refname>
-    <refpurpose>正規表現検索を行う</refpurpose>
-   </refnamediv>
-   <refsect1>
-    <title>説明</title>
-     <methodsynopsis>
-      <type>int</type><methodname>preg_match</methodname>
-      <methodparam><type>string</type><parameter>pattern</parameter></methodparam>
-      <methodparam><type>string</type><parameter>subject</parameter></methodparam>
-      <methodparam><type>array</type><parameter>
-       <replaceable><optional>matches</optional></replaceable>
-       </parameter></methodparam>
-     </methodsynopsis>
-    <para>
-     <parameter>pattern</parameter>で指定した正規表現により
-     <parameter>subject</parameter>を検索します。
-    </para>
-    <para>
-     
<parameter>matches</parameter>が指定された場合、検索結果が代入されます。
-     $matches[0]はパターン全体にマッチしたテキストが代入され、
-     
$matches[1]は最初の括弧付きのサブパターンにマッチしたテキスト
-     が代入され、といったようになります。
-    </para>
-    <para>
-     文字列subjectに<parameter>pattern</parameter>がマッチした場合は
-     
&true;を返し、マッチしなかったか、エラーを発生した場合に&false;を
-     返します。
-    </para>
-    <para>
-     <example>
-      <title>文字列"php"を探す</title>
-      <programlisting role="php">
+<refentry id="function.preg-match">
+ <refnamediv>
+  <refname>preg_match</refname>
+  <refpurpose>正規表現検索を行う</refpurpose>
+ </refnamediv>
+ <refsect1>
+  <title>説明</title>
+  <methodsynopsis>
+   <type>int</type><methodname>preg_match</methodname>
+   <methodparam><type>string</type><parameter>pattern</parameter></methodparam>
+   <methodparam><type>string</type><parameter>subject</parameter></methodparam>
+   <methodparam 
+choice="opt"><type>array</type><parameter>matches</parameter></methodparam>
+  </methodsynopsis>
+  <para>
+   <parameter>pattern</parameter>で指定した正規表現により
+   <parameter>subject</parameter>を検索します。
+  </para>
+  <para>
+   
+<parameter>matches</parameter>が指定された場合、検索結果が代入されます。
+   $matches[0]はパターン全体にマッチしたテキストが代入され、
+   
+$matches[1]は最初の括弧付きのサブパターンにマッチしたテキスト
+   が代入され、といったようになります。
+  </para>
+  <para>
+   <function>preg_match</function>は、<parameter>pattern</parameter>
+   
+がマッチした回数を返します。これは、0回(マッチせず)または1回となり
+   
+ます。これは、最初にマッチした時点で<function>preg_match</function>
+   は検索を止めるためです。逆に<function>preg_match_all</function>は、
+   <parameter>subject</parameter>の終わりまで検索を続けます。
+   <function>preg_match</function>は、エラーが発生した場合に&false;を
+   返します。
+  </para>
+  <para>
+   <example>
+    <title>文字列"php"を探す</title>
+    <programlisting role="php">
 <![CDATA[
 // 
パラメータのデリミタの後の"i"は大文字小文字を区別しない検索を示します
 if (preg_match ("/php/i", "PHP is the web scripting language of choice.")) {
Index: phpdoc-ja/reference/pgsql/functions/pg-convert.xml
diff -u phpdoc-ja/reference/pgsql/functions/pg-convert.xml:1.1 
phpdoc-ja/reference/pgsql/functions/pg-convert.xml:1.2
--- phpdoc-ja/reference/pgsql/functions/pg-convert.xml:1.1      Sat Apr 20 22:02:20 
2002
+++ phpdoc-ja/reference/pgsql/functions/pg-convert.xml  Sun Jun 16 07:29:15 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
 <!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.80 -->
 <refentry id='function.pg-convert'>
  <refnamediv>
@@ -15,6 +15,7 @@
    <methodparam><type>resource</type><parameter>connection</parameter></methodparam>
    <methodparam><type>string</type><parameter>table_name</parameter></methodparam>
    <methodparam><type>array</type><parameter>assoc_array</parameter></methodparam>
+   <methodparam 
+choice="opt"><type>int</type><parameter>options</parameter></methodparam>
   </methodsynopsis>
   <para>
    <function>pg_convert</function>はチェックし、SQL命令として実行可能
Index: phpdoc-ja/reference/uodbc/functions/odbc-fetch-into.xml
diff -u phpdoc-ja/reference/uodbc/functions/odbc-fetch-into.xml:1.1 
phpdoc-ja/reference/uodbc/functions/odbc-fetch-into.xml:1.2
--- phpdoc-ja/reference/uodbc/functions/odbc-fetch-into.xml:1.1 Sun Apr 14 21:17:27 
2002
+++ phpdoc-ja/reference/uodbc/functions/odbc-fetch-into.xml     Sun Jun 16 07:29:15 
+2002
@@ -1,89 +1,103 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- splitted from ./ja/functions/uodbc.xml, last change in rev 1.1 -->
-<!-- last change to 'odbc-fetch-into' in en/ tree in rev 1.34 -->
-  <refentry id="function.odbc-fetch-into">
-   <refnamediv>
-    <refname>odbc_fetch_into</refname>
-    <refpurpose>1行文の結果を配列に取り込みます</refpurpose>
-   </refnamediv>
-   <refsect1>
-    <title>説明</title>
-     <methodsynopsis>
-      <type>int</type><methodname>odbc_fetch_into</methodname>
-      <methodparam><type>int</type><parameter>result_id</parameter></methodparam>
-      <methodparam><type>int</type><parameter>
-       <replaceable><optional>rownumber</optional></replaceable>
-       </parameter></methodparam>
-      <methodparam><type>array</type><parameter>result_array</parameter></methodparam>
-     </methodsynopsis>
-    <para>
-     結果におけるカラム番号を返します。また、エラーの場合に
-     &false;を返します。
-     
<parameter>result_array</parameter>は参照渡しとする必要があります。
-     
しかし、このポインタは配列型に変換されるのでどんな型であっても
-     
構いません。この配列には、添字0から始まるカラム番号が代入されます。
-    </para>
-    <para>
-     <example>
-      <title><function>odbc_fetch_into</function> 4.0.6以前の例</title>
-      <programlisting role="php">
+<!-- $Revision: 1.2 $ -->
+<refentry id="function.odbc-fetch-into">
+ <refnamediv>
+  <refname>odbc_fetch_into</refname>
+  <refpurpose>1行文の結果を配列に取り込みます</refpurpose>
+ </refnamediv>
+ <refsect1>
+  <title>説明</title>
+  <methodsynopsis>
+   <type>bool</type><methodname>odbc_fetch_into</methodname>
+   <methodparam><type>resource</type><parameter>result_id</parameter></methodparam>
+   <methodparam 
+choice="opt"><type>int</type><parameter>rownumber</parameter></methodparam>
+   <methodparam><type>array</type><parameter>result_array</parameter></methodparam>
+  </methodsynopsis>
+  <methodsynopsis>
+   <type>resource</type><methodname>odbc_fetch_into</methodname>
+   <methodparam><type>resource</type><parameter>result_id</parameter></methodparam>
+   <methodparam><type>array</type><parameter>result_array</parameter></methodparam>
+   <methodparam 
+choice="opt"><type>int</type><parameter>rownumber</parameter></methodparam>
+  </methodsynopsis>
+  <para>
+   
+結果におけるカラム番号を返します。また、エラーの場合に&false;を返
+   します。<parameter>result_array</parameter>は参照渡しとする必要が
+   
+あります。しかし、このポインタは配列型に変換されるのでどんな型であっ
+   
+ても構いません。この配列には、添字0から始まるカラム番号が代入されます。
+  </para>
+  <para>
+   PHP 4.0.5以降、<parameter>result_array</parameter>は参照渡しとする
+   必要がなくなりました。
+  </para>
+  <para>
+   PHP 4.0.6以降、<parameter>rownumber</parameter>は定数として渡すこ
+   とはできず、変数として渡します。
+  </para>
+  <para>
+   PHP 4.2.0以降、<parameter>result_array</parameter>と
+   <parameter>rownumber</parameter>が交換されています。これにより、再
+   
+び、rownumberを定数とすることができるようになりました。この変更は、
+   この関数の変更としては最後のものになるでしょう。
+  </para>
+  <para>
+   <example>
+    <title><function>odbc_fetch_into</function> 4.0.6以前の例</title>
+    <programlisting role="php">
 <![CDATA[
 $rc = odbc_fetch_into($res_id, $my_array);
 ]]>
-      </programlisting>
-      <para>
-       または
-      </para>      
-      <programlisting role="php">
+    </programlisting>
+    <para>
+     または
+    </para>      
+    <programlisting role="php">
 <![CDATA[
 $rc = odbc_fetch_into($res_id, $row, $my_array);
        
 $rc = odbc_fetch_into($res_id, 1, $my_array);
 ]]>
-      </programlisting>
-     </example>
-    </para>
-    <para>
-     PHP 4.0.5以降、<parameter>result_array</parameter>はもはや参照渡
-     しとする必要はありません。
-    </para>
-    <para>
-     PHP 4.0.6以降、<parameter>rownumber</parameter>は、定数として渡す
-     ことはできず、変数と必要があります。
-    </para>
-    <para>
-     <example>
-      <title><function>odbc_fetch_into</function> 4.0.6での例</title>
-      <programlisting role="php">
+    </programlisting>
+   </example>
+  </para>
+  <para>
+   <example>
+    <title><function>odbc_fetch_into</function> 4.0.6での例</title>
+    <programlisting role="php">
 <![CDATA[
 $rc = odbc_fetch_into($res_id, $my_array);
 ]]>
-      </programlisting>
-      <para>
-       または
-      </para>
-     <programlisting role="php">
+    </programlisting>
+    <para>
+     または
+    </para>
+    <programlisting role="php">
 <![CDATA[
 $row = 1;
 $rc = odbc_fetch_into($res_id, $row, $my_array);
 ]]>
-      </programlisting>
-     </example>
-    </para>
+    </programlisting>
+   </example>
+  </para>
+  <para>
+   <example>
+    <title><function>odbc_fetch_into</function> 4.2.0の例</title>
+    <programlisting role="php">
+<![CDATA[
+$rc = odbc_fetch_into($res_id, $my_array);
+]]>
+    </programlisting>
     <para>
-     将来: PHP 4.1の場合、この関数は以下の形式に移動されます。
-      <methodsynopsis>
-       <type>int</type><methodname>odbc_fetch_into</methodname>
-       <methodparam><type>int</type><parameter>result_id</parameter></methodparam>
-       
<methodparam><type>array</type><parameter>result_array</parameter></methodparam>
-       <methodparam 
choice="opt"><type>int</type><parameter>rownumber</parameter></methodparam>
-      </methodsynopsis>
-     <parameter>rownumber</parameter>がオプションとなり、
-     <parameter>result_array</parameter>はオプションではないことに注意
-     して下さい。
+     または
     </para>
-   </refsect1>
-  </refentry>
+    <programlisting role="php">
+<![CDATA[
+$rc = odbc_fetch_into($res_id,$my_array, 2);
+]]>
+    </programlisting>
+   </example>
+  </para>
+ </refsect1>
+</refentry>
 
 <!-- Keep this comment at the end of the file
 Local variables:
Index: phpdoc-ja/reference/uodbc/functions/odbc-fetch-row.xml
diff -u phpdoc-ja/reference/uodbc/functions/odbc-fetch-row.xml:1.1 
phpdoc-ja/reference/uodbc/functions/odbc-fetch-row.xml:1.2
--- phpdoc-ja/reference/uodbc/functions/odbc-fetch-row.xml:1.1  Sun Apr 14 21:17:27 
2002
+++ phpdoc-ja/reference/uodbc/functions/odbc-fetch-row.xml      Sun Jun 16 07:29:15 
+2002
@@ -1,50 +1,45 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- splitted from ./ja/functions/uodbc.xml, last change in rev 1.1 -->
-<!-- last change to 'odbc-fetch-row' in en/ tree in rev 1.29 -->
-  <refentry id="function.odbc-fetch-row">
-   <refnamediv>
-    <refname>odbc_fetch_row</refname>
-    <refpurpose>行を取り込みます</refpurpose>
-   </refnamediv>
-   <refsect1>
-    <title>説明</title>
-     <methodsynopsis>
-      <type>int</type><methodname>odbc_fetch_row</methodname>
-      <methodparam><type>int</type><parameter>result_id</parameter></methodparam>
-      <methodparam><type>int</type><parameter>
-       <replaceable><optional>row_number</optional></replaceable>
-       </parameter></methodparam>
-     </methodsynopsis>
-    <para>
-     
<function>odbc_fetch_row</function>が成功した場合(行があった場合)、
-     &true;が返されます。もう行がない場合、
-     &false;が返されます。
-    </para>
-    <para>
-     <function>odbc_fetch_row</function> は、<function>odbc_do</function> や 
-     <function>odbc_exec</function> 
から返された行データ?ϖり込みます。
-     <function>odbc_fetch_row</function> がコールされた後、
-     この行のフィールドは、
-     <function>odbc_result</function> でアクセス可能となります。
-    </para>
-    <para>
-     <parameter>row_number</parameter>が指定されない場合、
-     <function>odbc_fetch_row</function>は、結果セットにおける
-     次の行を取り込もうと試みます。<parameter>row_number</parameter>を
-     指定した<function>odbc_fetch_row</function> のコールと指定しない
-     コールを混用することができます。
-    </para>
-    <para>
-     結果を複数回走査したい場合、<function>odbc_fetch_row</function> を
-     <parameter>row_number</parameter>に1を指定してコールし、
-     続いて結果を再度見るために
-     <parameter>row_number</parameter>を指定せずに
-     <function>odbc_fetch_row</function> を実行しつづけます。
-     
ドライバが、行を番号で取り込むことをサポートしていない場合、
-     <parameter>row_number</parameter> パラメータは無視されます。
-    </para>
-   </refsect1>
-  </refentry>
+<!-- $Revision: 1.2 $ -->
+<refentry id="function.odbc-fetch-row">
+ <refnamediv>
+  <refname>odbc_fetch_row</refname>
+  <refpurpose>行を取り込みます</refpurpose>
+ </refnamediv>
+ <refsect1>
+  <title>説明</title>
+  <methodsynopsis>
+   <type>bool</type><methodname>odbc_fetch_row</methodname>
+   <methodparam><type>resource</type><parameter>result_id</parameter></methodparam>
+   <methodparam 
+choice="opt"><type>int</type><parameter>row_number</parameter></methodparam>
+  </methodsynopsis>
+  <para>
+   <function>odbc_fetch_row</function>が成功した場合(行があった場合)、
+   &true;が返されます。もう行がない場合、&false;が返されます。
+  </para>
+  <para>
+   <function>odbc_fetch_row</function> は、<function>odbc_do</function> や 
+   <function>odbc_exec</function> から返された行データを取得します。
+   <function>odbc_fetch_row</function> 
+がコールされた後、この行のフィールドは、
+   <function>odbc_result</function> でアクセス可能となります。
+  </para>
+  <para>
+   <parameter>row_number</parameter>が指定されない場合、
+   <function>odbc_fetch_row</function>は、結果セットにおける
+   次の行を取り込もうと試みます。<parameter>row_number</parameter>を
+   指定した<function>odbc_fetch_row</function> のコールと指定しない
+   コールを混用することができます。
+  </para>
+  <para>
+   結果を複数回走査したい場合、<function>odbc_fetch_row</function> を
+   <parameter>row_number</parameter>に1を指定してコールし、
+   続いて結果を再度見るために
+   <parameter>row_number</parameter>を指定せずに
+   <function>odbc_fetch_row</function> を実行しつづけます。
+   
+ドライバが、行を番号で取り込むことをサポートしていない場合、
+   <parameter>row_number</parameter> パラメータは無視されます。
+  </para>
+ </refsect1>
+</refentry>
 
 <!-- Keep this comment at the end of the file
 Local variables:


Reply via email to