cvs: peardoc /ja/chapters intro.xml /ja/core db.xml mail.xml

From: Date: Fri, 01 Feb 2002 14:55:16 +0000
Subject: cvs: peardoc /ja/chapters intro.xml /ja/core db.xml mail.xml
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-2271@lists.php.net to get a copy of this message
hirokawa Fri Feb 1 09:55:16 2002 EDT Modified files: /peardoc/ja/chapters intro.xml /peardoc/ja/core db.xml mail.xml Log: fixed compile error. Index: peardoc/ja/chapters/intro.xml diff -u peardoc/ja/chapters/intro.xml:1.1 peardoc/ja/chapters/intro.xml:1.2 --- peardoc/ja/chapters/intro.xml:1.1 Fri Feb 1 09:37:25 2002 +++ peardoc/ja/chapters/intro.xml Fri Feb 1 09:55:16 2002 @@ -1,11 +1,10 @@ <?xml encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <chapter id="introduction"> <title>はじめに</title> <simpara> - PEAR は、1999/11/21 に生まれた <ulink url="&url.malinimg;">Malin - Bakken</ulink>に捧げられています。(最初のPEARのコードは、彼女が生ま - れたちょうど二時間後に書かれました。) + PEAR は、1999/11/21 に生まれたMalin Bakkenに捧げられています。(最初 + のPEARのコードは、彼女が生まれたちょうど二時間後に書かれました。) </simpara> <sect1 id="pear-whatis"> Index: peardoc/ja/core/db.xml diff -u peardoc/ja/core/db.xml:1.1 peardoc/ja/core/db.xml:1.2 --- peardoc/ja/core/db.xml:1.1 Fri Feb 1 09:37:25 2002 +++ peardoc/ja/core/db.xml Fri Feb 1 09:55:16 2002 @@ -1,5 +1,5 @@ <?xml encoding="utf-8"?> -<!-- $Id: db.xml,v 1.1 2002/02/01 14:37:25 hirokawa Exp $ --> +<!-- $Id: db.xml,v 1.2 2002/02/01 14:55:16 hirokawa Exp $ --> <reference id="core.db"> <title>PEAR DB: SQLデータベースをアクセスするための統一API</title> @@ -138,7 +138,7 @@ <simpara> To connect to a database you have to use the function <function>DB::connect</function>, which requires a valid - <link linkend="core.db.dsn">DSN</link> as parameter and + <link linkend="core.db.tut_dsn">DSN</link> as parameter and optional a boolean value, which determines wether to use a persistent connection or not. In case of success you get a new instance of the database class. It is strongly recommened to @@ -637,7 +637,7 @@ </refnamediv> <refsect1> <title>説明</title> - <refsect2> + <refsect2 id="core.db.prep_exec.purpose"> <title>目的</title> <para> <function>Prepare</function> and <function>execute*</function> @@ -670,37 +670,37 @@ <refsect2> <title>prepare</title> <para> - To use the features give - in <link linkend="core.db.prep_exec.purpose">Purpose</link> - you have to do two steps. Step one is to - <emphasis>prepare</emphasis> the statment and the second is - to <emphasis>excute</emphasis> it. + <link linkend="core.db.prep_exec.purpose">Purpose</link>で提供さ + れる機能を提供するには、二つの手順を行うことが必要です。 + 手順1は、命令を<emphasis>prepare</emphasis>することで、手順2は、 + それを<emphasis>excute</emphasis>することです。 </para> <para> - <function>Prepare</function> has to be called with the generic - statment at least once. It returns a handle for the statment. + <function>prepare</function>は、汎用のステートメントについて最低 + 一回はコールされる必要があります。この関数は、そのステートメント + に関するハンドルを返します。 </para> <para> - To create a generic statment is simple. Write the SQL query - as usual, i.e. + 汎用のステートメントを作成するのは簡単です。SQLクエリを通常通り + 作成します。すなわち、 <programlisting> <![CDATA[ SELECT surname, name, age FROM person WHERE name = 'name_to_find' AND age < 'age_limit' ]]> </programlisting> - Now check which parameters should be replaced while script - runtime. Substitute this parameters with a placeholder. + 次にスクリプト実行時に置換されるパラメータを確認します。このパラ + メータを置換子で置換します。 <programlisting> <![CDATA[ SELECT surname, name, age FROM person WHERE name = ? AND age < ? ]]> </programlisting> - So, thats all! Now you have a generic statement, required by - <function>prepare</function>. + さて、これで完了です! <function>prepare</function>が必要とする汎 + 用のステートメントが作成されました。 </para> <para> - <function>Prepare</function> can handle different types of + <function>prepare</function> can handle different types of placeholders or wildcards. <simplelist> <member> Index: peardoc/ja/core/mail.xml diff -u peardoc/ja/core/mail.xml:1.1 peardoc/ja/core/mail.xml:1.2 --- peardoc/ja/core/mail.xml:1.1 Fri Feb 1 09:37:25 2002 +++ peardoc/ja/core/mail.xml Fri Feb 1 09:55:16 2002 @@ -1,5 +1,5 @@ <?xml encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <reference id="core.mail"> <title>PEAR Mail: メール処理関数</title> @@ -212,7 +212,7 @@ <simpara> smtpを用いる<function>send</function>メソッドを提供するドライバオ ブジェクトです。サーバに接続するため、 - filename>Net/smtp.php</filename>と + <filename>Net/smtp.php</filename>と <filename>Net/socket.php</filename>を使用します。 </simpara> </refsect1>

« previous php.pear.cvs (#2271) next »