cvs: peardoc /ja/chapters intro.xml /ja/core db.xml mail.xml
| From: | Rui Hirokawa | 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>