cvs: peardoc /ja/chapters standards.xml /ja/chapters/faq documentation.xml /ja/guide/developers documentation.xml /ja/guide/migrating intro.xml
/ja/package benchmarking.xml database.xml /ja/package/authentication/auth intro-options.xml /ja/package/database mdb2-schema.xml
/ja/package/database/db-table intro.xml /ja/package/database/mdb2 datatypes.xml faq.xml intro.xml /ja/package/database/mdb2-schema intro.xml
usage.xml /ja/package/networking net-ldap.xml /ja/package/networking/net-ldap connect.xml search.xml /ja/package/text/text-captcha example.xml
| From: | TAKAGI Masahiro | Date: | Sun, 24 Jun 2007 10:21:51 +0000 |
| Subject: | cvs: peardoc /ja/chapters standards.xml /ja/chapters/faq documentation.xml /ja/guide/developers documentation.xml /ja/guide/migrating intro.xml /ja/package benchmarking.xml database.xml /ja/package/authentication/auth intro-options.xml /ja/package/database mdb2-schema.xml /ja/package/database/db-table intro.xml /ja/package/database/mdb2 datatypes.xml faq.xml intro.xml /ja/package/database/mdb2-schema intro.xml usage.xml /ja/package/networking net-ldap.xml /ja/package/networking/net-ldap connect.xml search.xml /ja/package/text/text-captcha example.xml |
||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-9816@lists.php.net to get a copy of this message | ||
takagi Sun Jun 24 10:21:51 2007 UTC
Added files:
/peardoc/ja/package/networking/net-ldap search.xml
/peardoc/ja/package/database/mdb2-schema usage.xml intro.xml
/peardoc/ja/package/database mdb2-schema.xml
/peardoc/ja/package/authentication/auth intro-options.xml
Modified files:
/peardoc/ja/package/text/text-captcha example.xml
/peardoc/ja/package/networking/net-ldap connect.xml
/peardoc/ja/package/networking net-ldap.xml
/peardoc/ja/package/database/mdb2 intro.xml faq.xml datatypes.xml
/peardoc/ja/package/database/db-table intro.xml
/peardoc/ja/package database.xml benchmarking.xml
/peardoc/ja/guide/migrating intro.xml
/peardoc/ja/guide/developers documentation.xml
/peardoc/ja/chapters/faq documentation.xml
/peardoc/ja/chapters standards.xml
Log:
sync with en.
http://cvs.php.net/viewvc.cgi/peardoc/ja/package/text/text-captcha/example.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/text/text-captcha/example.xml diff -u peardoc/ja/package/text/text-captcha/example.xml:1.2 peardoc/ja/package/text/text-captcha/example.xml:1.3 --- peardoc/ja/package/text/text-captcha/example.xml:1.2 Mon Nov 27 14:58:54 2006 +++ peardoc/ja/package/text/text-captcha/example.xml Sun Jun 24 10:21:50 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: takagi Status: ready --> <sect2 id="package.text.text-captcha.example"> <title>ä¾</title> @@ -33,6 +33,7 @@ $retval = $c->init(200, 80, null, $options); if (PEAR::isError($retval)) { echo 'CAPTCHA 使æã«ã¨ã©ã¼!'; + echo $retval->getMessage(); exit; } @@ -43,6 +44,7 @@ $png = $c->getCAPTCHAAsPNG(); if (PEAR::isError($png)) { echo 'CAPTCHA 使æã«ã¨ã©ã¼!'; + echo $png->getMessage(); exit; } file_put_contents(md5(session_id()) . '.png', $png); http://cvs.php.net/viewvc.cgi/peardoc/ja/package/networking/net-ldap/connect.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/networking/net-ldap/connect.xml diff -u peardoc/ja/package/networking/net-ldap/connect.xml:1.1 peardoc/ja/package/networking/net-ldap/connect.xml:1.2 --- peardoc/ja/package/networking/net-ldap/connect.xml:1.1 Sat Apr 14 08:20:49 2007 +++ peardoc/ja/package/networking/net-ldap/connect.xml Sun Jun 24 10:21:50 2007 @@ -1,119 +1,130 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> -<sect2 id="package.networking.net-ldap.connecting"> - <title>LDAP ãµã¼ãã¸ã®æ¥ç¶</title> - - <para> - LDAP ãµã¼ãã«æ¥ç¶ããã«ã¯ã - <classname>Net_LDAP</classname> ã®éçã¡ã½ãã - <function>connect</function> ã使ç¨ãã¾ãã - ãã®ã¡ã½ããã«æ¸¡ããã©ã¡ã¼ã¿ã¯ã²ã¨ã¤ã§ããã®å 容ã¯è¨å®ãªãã·ã§ã³ã®é åã§ãã - æ¥ç¶ã«æåããå ´å㯠<classname>Net_LDAP</classname> ãªãã¸ã§ã¯ãã - 失æããå ´å㯠<classname>PEAR_Error</classname> ãªãã¸ã§ã¯ããè¿ãã¾ãã - </para> - - <para> - è¨å®ãªãã·ã§ã³ã®å 容ã«ã¤ãã¦ã次ã®è¡¨ã«ã¾ã¨ãã¾ãã - ããã©ã«ãå¤ã§éã«åããªããè¨å®é åã§ãã®é ç®ãæå®ããå¿ è¦ã¯ããã¾ããã - - <table> - <title>è¨å®ãªãã·ã§ã³</title> - <tgroup cols="3"> - <thead> - <row> - <entry>åå</entry> - <entry>説æ</entry> - <entry>ããã©ã«ã</entry> - </row> - </thead> - <tbody> - <row> - <entry><literal>host</literal></entry> - <entry>æ¥ç¶ãã LDAP ãµã¼ã</entry> - <entry><literal>localhost</literal></entry> - </row> - - <row> - <entry><literal>port</literal></entry> - <entry>æ¥ç¶ãããã¼ã</entry> - <entry>389</entry> - </row> - - <row> - <entry><literal>version</literal></entry> - <entry>LDAP ã®ãã¼ã¸ã§ã³</entry> - <entry><literal>3</literal></entry> - </row> - - <row> - <entry><literal>starttls</literal></entry> - <entry>æ¥ç¶å¾ã« TLS ãéå§ãã</entry> - <entry><literal>false</literal></entry> - </row> - - <row> - <entry><literal>binddn</literal></entry> - <entry>ãã¤ã³ãããèå¥å (ã¦ã¼ã¶å)</entry> - <entry>(ãªã)</entry> - </row> - - <row> - <entry><literal>bindpw</literal></entry> - <entry><literal>binddn</literal> ã«å¯¾å¿ãããã¹ã¯ã¼ã</entry> - <entry>(ãªã)</entry> - </row> - - <row> - <entry><literal>basedn</literal></entry> - <entry>LDAP ã®ãã¼ã¹å (ã«ã¼ããã£ã¬ã¯ããª)</entry> - <entry>(ãªã)</entry> - </row> - - <row> - <entry><literal>options</literal></entry> - <entry>追å ã§æå®ãã ldap ãªãã·ã§ã³ã表ã ãã¼/å¤ ã®é å</entry> - <entry><literal>array()</literal></entry> - </row> - - <row> - <entry><literal>filter</literal></entry> - <entry>ããã©ã«ãã®æ¤ç´¢ãã£ã«ã¿</entry> - <entry><literal>(objectClass=*)</literal></entry> - </row> - - <row> - <entry><literal>scope</literal></entry> - <entry>ããã©ã«ãã®æ¤ç´¢ã¹ã³ã¼ã (<function>search</function> ãåç §ãã ãã)</entry> - <entry><literal>sub</literal></entry> - </row> - - </tbody> - </tgroup> - </table> - </para> - - <example> - <title>LDAP ãµã¼ãã¸ã®æ¥ç¶</title> - <programlisting role="php"><![CDATA[ +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.4 Maintainer: takagi Status: ready --> +<refentry id="package.networking.net-ldap.connecting"> + <refnamediv> + <refname>è¨å®ããã³æ¥ç¶</refname> + <refpurpose>Net_LDAP ã®è¨å®ãããã³ LDAP ãµã¼ãã¸ã®æ¥ç¶</refpurpose> + </refnamediv> + + <refsect1> + <title>LDAP ãµã¼ãã¸ã®æ¥ç¶</title> + + <para> + LDAP ãµã¼ãã«æ¥ç¶ããã«ã¯ã + <classname>Net_LDAP</classname> ã®éçã¡ã½ãã + <function>connect</function> ã使ç¨ãã¾ãã + ãã®ã¡ã½ããã«æ¸¡ããã©ã¡ã¼ã¿ã¯ã²ã¨ã¤ã§ããã®å 容ã¯è¨å®ãªãã·ã§ã³ã®é åã§ãã + æ¥ç¶ã«æåããå ´å㯠<classname>Net_LDAP</classname> ãªãã¸ã§ã¯ãã + 失æããå ´å㯠<classname>PEAR_Error</classname> ãªãã¸ã§ã¯ããè¿ãã¾ãã + </para> + + <para> + è¨å®ãªãã·ã§ã³ã®å 容ã«ã¤ãã¦ã次ã®è¡¨ã«ã¾ã¨ãã¾ãã + ããã©ã«ãå¤ã§éã«åããªããè¨å®é åã§ãã®é ç®ãæå®ããå¿ è¦ã¯ããã¾ããã + + <table> + <title>è¨å®ãªãã·ã§ã³</title> + <tgroup cols="3"> + <thead> + <row> + <entry>åå</entry> + <entry>説æ</entry> + <entry>ããã©ã«ã</entry> + </row> + </thead> + <tbody> + <row> + <entry><literal>host</literal></entry> + <entry>æ¥ç¶ãã LDAP ãµã¼ã</entry> + <entry><literal>localhost</literal></entry> + </row> + + <row> + <entry><literal>port</literal></entry> + <entry>æ¥ç¶ãããã¼ã</entry> + <entry>389</entry> + </row> + + <row> + <entry><literal>version</literal></entry> + <entry>LDAP ã®ãã¼ã¸ã§ã³</entry> + <entry><literal>3</literal></entry> + </row> + + <row> + <entry><literal>starttls</literal></entry> + <entry>æ¥ç¶å¾ã« TLS ãéå§ãã</entry> + <entry><literal>false</literal></entry> + </row> + + <row> + <entry><literal>binddn</literal></entry> + <entry>ãã¤ã³ãããèå¥å (ã¦ã¼ã¶å)</entry> + <entry>(ãªã)</entry> + </row> + + <row> + <entry><literal>bindpw</literal></entry> + <entry><literal>binddn</literal> ã«å¯¾å¿ãããã¹ã¯ã¼ã</entry> + <entry>(ãªã)</entry> + </row> + + <row> + <entry><literal>basedn</literal></entry> + <entry>LDAP ã®ãã¼ã¹å (ã«ã¼ããã£ã¬ã¯ããª)</entry> + <entry>(ãªã)</entry> + </row> + + <row> + <entry><literal>options</literal></entry> + <entry>追å ã§æå®ãã ldap ãªãã·ã§ã³ã表ã ãã¼/å¤ ã®é å</entry> + <entry><literal>array()</literal></entry> + </row> + + <row> + <entry><literal>filter</literal></entry> + <entry>ããã©ã«ãã®æ¤ç´¢ãã£ã«ã¿</entry> + <entry><literal>(objectClass=*)</literal></entry> + </row> + + <row> + <entry><literal>scope</literal></entry> + <entry>ããã©ã«ãã®æ¤ç´¢ã¹ã³ã¼ã (<function>search</function> ãåç §ãã ãã)</entry> + <entry><literal>sub</literal></entry> + </row> + + </tbody> + </tgroup> + </table> + </para> + + <example> + <title>LDAP ãµã¼ãã¸ã®æ¥ç¶</title> + <programlisting role="php"><![CDATA[ +// Net_LDAP ããã±ã¼ã¸ã®èªã¿è¾¼ã¿ require_once 'Net/LDAP.php'; +// è¨å®é å $config = array ( - 'binddn' => 'cn=admin,ou=users,dc=example,dc=org', - 'bindpw' => 'password', - 'basedn' => 'ou=addressbook,dc=example,dc=org', - 'host' => 'ldap.example.org' - ); + 'binddn' => 'cn=admin,ou=users,dc=example,dc=org', + 'bindpw' => 'password', + 'basedn' => 'ou=addressbook,dc=example,dc=org', + 'host' => 'ldap.example.org' +); +// è¨å®ãç¨ããæ¥ç¶ $ldap = Net_LDAP::connect($config); +// æ¥ç¶æã®ã¨ã©ã¼ã®ç¢ºèª if (PEAR::isError($ldap)) { - die($ldap->getMessage() . "\n"); + die('LDAP ãµã¼ãã«æ¥ç¶ã§ãã¾ããã§ãã: '.$ldap->getMessage()); } ]]></programlisting> - </example> + </example> -</sect2> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml http://cvs.php.net/viewvc.cgi/peardoc/ja/package/networking/net-ldap.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/networking/net-ldap.xml diff -u peardoc/ja/package/networking/net-ldap.xml:1.1 peardoc/ja/package/networking/net-ldap.xml:1.2 --- peardoc/ja/package/networking/net-ldap.xml:1.1 Sat Apr 14 08:20:49 2007 +++ peardoc/ja/package/networking/net-ldap.xml Sun Jun 24 10:21:50 2007 @@ -1,18 +1,22 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.4 Maintainer: takagi Status: ready --> <sect1 id="package.networking.net-ldap"> - <title>Net_LDAP</title> - - <para> - LDAP (Lightweight Directory Access Protocol) ãµã¼ãã¸ã®åãåãããè¡ãã¾ãã - </para> - - &package.networking.net-ldap.connect; - &package.networking.net-ldap.query; - &package.networking.net-ldap.results; - <!-- FIXME: write more sections --> - + <title>Net_LDAP</title> + + <para> + Net_LDAP ã¯ããã£ã¬ã¯ããªãµã¼ãã«ä¿åããããã¼ã¿ã®åãåããã夿´ã + PHP ã«ãã£ã¦ãªãã¸ã§ã¯ãæåã§è¡ãã¾ãã + </para> + <para> + 詳細ãªä½¿ç¨ä¾ã¯ã<literal>/your/pear/path/docs/Net_LDAP/examples/</literal> + ã«ããã¾ãã + </para> +<!-- + &package.networking.net-ldap.introduction; + &package.networking.net-ldap.errorhandling;--> + &package.networking.net-ldap.connect; + &package.networking.net-ldap.search; </sect1> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/peardoc/ja/package/database/mdb2/intro.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/database/mdb2/intro.xml diff -u peardoc/ja/package/database/mdb2/intro.xml:1.2 peardoc/ja/package/database/mdb2/intro.xml:1.3 --- peardoc/ja/package/database/mdb2/intro.xml:1.2 Tue Oct 31 00:23:22 2006 +++ peardoc/ja/package/database/mdb2/intro.xml Sun Jun 24 10:21:50 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.8 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.9 Maintainer: takagi Status: ready --> <refentry id="package.database.mdb2.intro"> <refnamediv> <refname>å°å ¥</refname> @@ -181,8 +181,29 @@ <refsect1> + <title>ã¤ã³ã¹ãã¼ã«</title> + <para> + PEAR <classname>MDB2</classname> ãã¤ã³ã¹ãã¼ã«ããã ãã§ã¯ã + åºæ¬ã¯ã©ã¹ããã¤ã³ã¹ãã¼ã«ããã¾ãããå®éã«åä½ãããã«ã¯ã + å DBMS ç¨ã®é©åãªãã©ã¤ããã¤ã³ã¹ãã¼ã«ããå¿ è¦ãããã¾ãã + ãã¨ãã°ãMySQL ããã³ PostgreSQL ç¨ã®ãã©ã¤ããã¤ã³ã¹ãã¼ã«ããã«ã¯ + 次ã®ãããªã³ãã³ããå®è¡ãã¾ãã + <programlisting> + <![CDATA[ +$ pear install MDB2 + +$ pear install MDB2#mysql + +$ pear install MDB2#pgsql + ]]> + </programlisting> + ãã¾ãè¡ããªãå ´å㯠<link linkend="package.database.mdb2.faq">FAQ</link> + ãåç §ãã ããã + </para> + </refsect1> + + <refsect1> <title>å¤é¨ã®ãµãã¼ããªã½ã¼ã¹</title> - <itemizedlist> <listitem> <simpara> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/database/mdb2/faq.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/database/mdb2/faq.xml diff -u peardoc/ja/package/database/mdb2/faq.xml:1.2 peardoc/ja/package/database/mdb2/faq.xml:1.3 --- peardoc/ja/package/database/mdb2/faq.xml:1.2 Sun Nov 26 08:40:55 2006 +++ peardoc/ja/package/database/mdb2/faq.xml Sun Jun 24 10:21:50 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: takagi Status: ready --> <!-- @@ -42,6 +42,8 @@ <para> ãã¨ãã° SQLite ã使ç¨ãããå ´åã¯ã <command>pear install MDB2_Driver_sqlite</command> + ãããã¯åç´ã« + <command>pear install MDB2#sqlite</command> ã¨ããã°åãããã«ãªãã¾ãã </para> <para> @@ -68,6 +70,20 @@ ã¨ããã°ãã¾ãåãã¾ãã </para> </refsect1> + + <refsect1 id="package.database.mdb2.faq.twoinstances"> + <title>è¤æ°ã®ã¤ã³ã¹ã¿ã³ã¹ã使ãã¦ç°ãªããã¼ã¿ãã¼ã¹ã使ç¨ãããã¨ãã§ããªã</title> + <para> + è¤æ°ã®ãã¼ã¿ãã¼ã¹ãåæã«ä½¿ç¨ãããã¨ããã¨ã + äºçªç®ã®ãã¼ã¿ãã¼ã¹ã«æ¥ç¶ããç¬éã«æåã®ãã¼ã¿ãã¼ã¹ã¨ã®æ¥ç¶ã失ããããã¨ã«æ°ã¥ãããã§ãããã + ããã¯ãDBMS ãç´è¿ã«ãªã¼ãã³ãããæ¥ç¶ãåå©ç¨ãããã¨ããããã§ãããã®åé¡ã解決ããã«ã¯ã + <link linkend="package.database.mdb2.intro-dsn">DSN ã® <parameter>new_link</parameter> ãªãã·ã§ã³</link> + ã &true; ã«ãã¾ãã + </para> + </refsect1> + + + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/peardoc/ja/package/database/mdb2/datatypes.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/database/mdb2/datatypes.xml diff -u peardoc/ja/package/database/mdb2/datatypes.xml:1.2 peardoc/ja/package/database/mdb2/datatypes.xml:1.3 --- peardoc/ja/package/database/mdb2/datatypes.xml:1.2 Sat Dec 9 00:08:36 2006 +++ peardoc/ja/package/database/mdb2/datatypes.xml Sun Jun 24 10:21:50 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.8 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.9 Maintainer: takagi Status: ready --> <refentry id="package.database.mdb2.datatypes"> <refnamediv> <refname>ãã¼ã¿å</refname> @@ -672,9 +672,19 @@ <title>ç¬èªã®ãã¼ã¿åããããªãæ å ±</title> <para> ç¬èªã®ãã¼ã¿åãå®ç¾©ãããã¨ãã§ãã¾ãã - ããã«ã¤ãã¦ããã®ãã¡ã«ç´¹ä»ãã¾ããä»ã®ã¨ããã¯ãblog ã® - <ulink url="http://pooteeweet.org/blog/413">ãã®æç¨¿</ulink> - ãåç §ãã ããã + ããã«ã¤ãã¦ããã®ãã¡ã«ç´¹ä»ãã¾ããä»ã®ã¨ããã¯ãblog ã®ãããã®æç¨¿ãåç §ãã ããã + <itemizedlist> + <listitem> + <simpara> + <ulink url="http://pooteeweet.org/blog/413">To serialize or to not serialize?</ulink> + </simpara> + </listitem> + <listitem> + <simpara> + <ulink url="http://www.fornax.net/blog/archives/96-Custom-Types-in-PEARMDB2.html">Custom Types in PEAR::MDB2</ulink> + </simpara> + </listitem> + </itemizedlist> </para> <para> ãããªãæ å ±ã¯ http://cvs.php.net/viewvc.cgi/peardoc/ja/package/database/db-table/intro.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/database/db-table/intro.xml diff -u peardoc/ja/package/database/db-table/intro.xml:1.1 peardoc/ja/package/database/db-table/intro.xml:1.2 --- peardoc/ja/package/database/db-table/intro.xml:1.1 Fri Oct 27 14:40:56 2006 +++ peardoc/ja/package/database/db-table/intro.xml Sun Jun 24 10:21:50 2007 @@ -1,30 +1,200 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> - <refentry id="package.database.db-table.intro"> - <refnamediv> - <refname>å°å ¥</refname> - <refpurpose> - ãã¼ã¿ãã¼ã¹ã®ãã¼ãã«ã«å¯¾ãããªãã¸ã§ã¯ãæåã¤ã³ã¿ã¼ãã§ã¤ã¹ - </refpurpose> - </refnamediv> - <refsect1> - <title>DB_Table ã«ã¤ãã¦</title> - <para> - DB_Table ã¯ããã¼ã¿ãã¼ã¹ã®ãã¼ãã«ã«å¯¾ãããªãã¸ã§ã¯ãæåã®ã¤ã³ã¿ã¼ãã§ã¤ã¹ã§ãã - PEAR DB ã¯ã©ã¹ã®ã©ããã¼ã¨ãã¦åä½ãã - createãinsertãupdateãdelete ããã³ select ã®èªåçæãè£å©ããã¡ã½ãããæä¾ãã¾ãã - ã¾ããHTML_QuickForm ã使ç¨ãã¦å ¥åãã©ã¼ã ãèªåçæããã¡ã½ãããæä¾ãã¾ãã - </para> - - <para> - <ulink url="http://wiki.ciaweb.net/yawiki/index.php?area=DB_Table"> - å®å ¨ãªãªã³ã©ã¤ã³ããã¥ã¡ã³ãã¯ããã¡ãã§ã</ulink>ã - </para> - </refsect1> - </refentry> - - +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> + +<refentry id="package.database.db-table.intro"> + <refnamediv> + <refname>å°å ¥</refname> + <refpurpose> + DB_Table ããã±ã¼ã¸ã®æ¦è¦ + </refpurpose> + </refnamediv> + +<refsect1 id="package.database.db-table.intro.desc"> +&title.desc; + + <para> + DB_Table ããã±ã¼ã¸ã¯ããã¼ã¿ãã¼ã¹ã¸ã®ãªãã¸ã§ã¯ãæåã®ã¤ã³ã¿ã¼ãã§ã¤ã¹ãæä¾ãã¾ãã + 主è¦ãªã¯ã©ã¹ã¯ã次㮠3 ã¤ã§ãã + <itemizedlist> + <listitem> + <simpara> + <classname>DB_Table</classname> - + ãã¼ã¿ãã¼ã¹ã®ãã¼ãã«ã«å¯¾ããã¤ã³ã¿ã¼ãã§ã¤ã¹ãããã¦ãã¼ãã«ã®ã¢ãã«ã + </simpara> + </listitem> + <listitem> + <simpara> + <classname>DB_Table_Database</classname> - + ãªã¬ã¼ã·ã§ãã«ãã¼ã¿ãã¼ã¹ã«å¯¾ããã¤ã³ã¿ã¼ãã§ã¤ã¹ã + ããã¦ãªã¬ã¼ã·ã§ãã«ãã¼ã¿ãã¼ã¹ã®ã¢ãã«ã + </simpara> + </listitem> + <listitem> + <simpara> + <classname>DB_Table_Generator</classname> - + æ¢åã®ãã¼ã¿ãã¼ã¹ããã®ã³ã¼ãçæã + </simpara> + </listitem> + </itemizedlist> + ãã®ããã±ã¼ã¸ã¯ DB_Table ã¯ã©ã¹ããå§ã¾ãã¾ããã + ãããæ¸ããã®ã¯ Paul M. Jones ã§ããDatabase ã¯ã©ã¹ã¨ + Generator ã¯ã©ã¹ã¯ããããã 1.5.0RC1 ããã³ 1.5.0RC2 + ã§è¿½å ããã¾ããããããã®ããã¥ã¢ã«ã¯ 1.5.0 ã§è¿½å ããã¾ããã + </para> + + <para> + ã³ã¢ã® <classname>DB_Table</classname> ã¯ã©ã¹ã®ããããã£ã«ã¯ã + ãã¼ãã«ã®ã¹ãã¼ãã坿¬æ§ã®é«ã + <link linkend="package.database.db-table.intro-datatypes"> + ãã¼ã¿å</link> ãç¨ãã¦è¡¨ãããã®ãæ ¼ç´ããã¦ãã¾ãã + ã¯ã©ã¹ã¡ã½ããã¨ãã¦ã¯ãSQL ã³ãã³ã INSERT ã + UPDATEãDELETEãSELECT ã使ãããçºè¡ããããã便å©ãª API + ãç¨æããã¦ãã¾ããã¾ããå®ç¾©æ¸ã¿ã®ã¹ãã¼ããã + RDBMS ã®ãã¼ãã«ã使ããã¡ã½ãããããã¾ãã + ãã¼ã¿ã®è¿½å ãæ´æ°ã®éã«ã¯ãç°¡åãªåã®æ¤è¨¼ãè¡ãã¾ãã + ã¾ããã«ã©ã ã®å®ç¾©ããã¨ã«ãã¦èªåçã« + <classname>HTML_QuickForm</classname> + ã®å ¥åãã©ã¼ã ã使ããã¡ã½ãããããã¾ãã + </para> + + <para> + <classname>DB_Table_Database</classname> ã®ã¤ã³ã¹ã¿ã³ã¹ã«ã¯ã + ãã¼ã¿ãã¼ã¹å ã®ãã¼ãã«éã®ãªã¬ã¼ã·ã§ã³ã«ã¤ãã¦ã®ã¢ãã«ãå«ã¾ãã¾ãã + åãã¼ãã«ã¯ + <classname>DB_Table</classname> ã®ã¤ã³ã¹ã¿ã³ã¹ã¨ãã¦è¡¨ããã¾ãã + <function>autoJoin</function> ã¡ã½ããã使ç¨ããã¨ã + ä»»æã®æ°ã®ãã¼ãã«ãé£çµããã¯ã¨ãªã®çµåæ¡ä»¶ãèªåçã«ä½æãããã¨ãã§ãã¾ãã + ãã®ã¯ã©ã¹ã«ã¯ãå¤é¨ãã¼ã®å¦¥å½æ§ã PHP å´ã§æ¤è¨¼ããæ©è½ãããã¾ãã + ã¾ããåç §ããã¦ããè¡ãåé¤ããããæ´æ°ããããããã¨ãã«è¡ãããå¦çã + ã¤ã¾ããããããé£éåé¤ãªã©ã PHP ã§ã¨ãã¥ã¬ã¼ããããã¨ãã§ãã¾ãã + </para> + + <para> + <classname>DB_Table_Generator</classname> ã¯ã©ã¹ã使ç¨ããã¨ã + DB_Table ããã±ã¼ã¸ã§æ¢åã®ãã¼ã¿ãã¼ã¹ã¨ã®ã¤ã³ã¿ã¼ãã§ã¤ã¹ã使ããéã«å¿ è¦ãª + PHP ã³ã¼ããèªåçã«çæãããã¨ãã§ãã¾ãã + ããã¯ãæåã«ãã¼ã¿ãã¼ã¹ã¨ã®ã¤ã³ã¿ã¼ãã§ã¤ã¹ã使ããéã«ã®ã¿ä½¿ç¨ãã¾ãã + </para> + + <para> + ãããã®åã¯ã©ã¹ã«ã¤ãã¦ã¯ããã以éã®ãã¼ã¸ã§åå¥ã«èª¬æãã¾ãã + </para> + + <!-- + <para> + Each instance of <classname>DB_Table</classname> and + <classname>DB_Table_Database</classname> wraps an underlying + <classname>DB</classname> or <classname>MDB2</classname> object, + which establishes a connection to the interface. The database + can generally be accessed by any of: + i) Using the <classname>DB/MDB2</classname> object to submit + raw SQL commands, + ii) Using the methods of a <classname>DB_Table</classname> object + to access a particular tables, + iii) Using a <classname>DB_Table_Database</classname> as a gateway + to an entire database. All three of these layers of software remain + accessible. Many of the features provided by the + <class>DB_Table</classname> and + <class>DB_Table_Database</class> + layers rely upon fact that these layers "know" the table or + database schema, and can use that information to simplify or + automate some operations. + </para> + + <para> + The package is designed to provide a convenient interface for + constructing, submitting, and manipulating SQL commands, but does + not attempt to replace SQL with a different model for interaction + with a database. Unlike many Object Relational Mapper (ORM) + classes, such as DB_DataObject and the Ruby-on-Rails ActiveRecord + class, <class>DB_Table</classname> does not implement the Active + Record pattern: A <classname>DB_Table</classname> provides a + gateway to a database table, but is not also used to encapsulate + rows of data to be inserted or rows returned by a query. The + interfaces for submitting INSERT, UPDATE, DELETE, and SELECT + commands via the <classname>DB_Table</classname> and + <classname>DB_Table_Database</classname> are all closely related + to the underlying SQL commands, and allow arbitrary SQL commands + to be submitted. Rows of data to be inserted or updated are passed + to methods named <function>insert</function> + and <function>update</function> as associative arrays in which + the keys are column names. Quoting and date type validation + are taken care of automatically, using knowledge of the + corresponding column types. SELECT commands are represented + as arrays, in which different elements of the array represent + different clauses, and the values are arbitrary SQL strings. + This representation allows queries to modified relatively + easily, while also allowing arbitary queries to be constructed + and submitted. The <classname>DB_Table_DataBase</classname> + contains a method to automate the construction of join + conditions for inner joins involving any number of tables. + (Support for outer joins is planned), using only a minimum + of information. + </para> + + <para> + The purposes of the package are broadly similar to those of a + number of other database interface or "object relational mapper" + (ORM) packages, including the PEAR DB_DataObject package. Some + distinctive features of the its design: + <itemizedlist> + <listitem> + <simpara> + The package is designed to simplify the generation and + submission of SQL commands, but not to replace SQL with + </simpara> + </listitem> + <listitem> + <simpara> + The schema of each table (i.e., the column and index definitions) + is embedded within the properties of a corresponding + <classname>DB_Table</classname> object, rather than in a separate + initialization file. A model of the relationship between tables + in a database is contained in the properties of a corresponding + <classname>DB_Table_Database</classname> object. + </simpara> + </listitem> + <listitem> + <simpara> + The <classname>DB_Table</classname> class was originally designed + to allow the PHP table interface to be written first, and each + database table to be automatically created from a programmatically + defined schema. The addition of the + <classname>DB_Table_Generator</classname> allows the reverse + procedure as well, in which the required PHP interface code is + generated so as to match an existing database. + </simpara> + </listitem> + <listitem> + <simpara> + The package provides a simple interface for SQL insert, update, + and delete data modification commands in which to be inserted or + or updated is specified as an associative arrays with column name + keys. + </simpara> + </listitem> + <listitem> + <simpara> + The package provides a syntax for queries in which each SQL select + command is represented as an array, in which each clause (SELECT, + FROM, WHERE, etc.) is a different array element. This makes it + easy to re-use and modify common or complicated queries. The + interface for submitting a query makes it easy to limit the query + by adding a further logical condition, change the ORDER BY clause, + or limit the number of rows. + </simpara> + </listitem> + <listitem> + <simpara> + </listitem> + <itemizedlist> + </para> + --> + +</refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/peardoc/ja/package/database.xml?r1=1.9&r2=1.10&diff_format=u Index: peardoc/ja/package/database.xml diff -u peardoc/ja/package/database.xml:1.9 peardoc/ja/package/database.xml:1.10 --- peardoc/ja/package/database.xml:1.9 Wed Nov 8 13:46:09 2006 +++ peardoc/ja/package/database.xml Sun Jun 24 10:21:50 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8" ?> -<!-- EN-Revision: 1.14 Maintainer: elf Status: ready --> -<!-- $Id: database.xml,v 1.9 2006/11/08 13:46:09 takagi Exp $ --> +<!-- EN-Revision: 1.15 Maintainer: elf Status: ready --> +<!-- $Id: database.xml,v 1.10 2007/06/24 10:21:50 takagi Exp $ --> <chapter id="package.database"> <title>ãã¼ã¿ãã¼ã¹</title> @@ -20,6 +20,7 @@ &package.database.mdb; &package.database.mdb2; &package.database.mdb-querytool; + &package.database.mdb2-schema; </chapter> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/peardoc/ja/package/benchmarking.xml?r1=1.5&r2=1.6&diff_format=u Index: peardoc/ja/package/benchmarking.xml diff -u peardoc/ja/package/benchmarking.xml:1.5 peardoc/ja/package/benchmarking.xml:1.6 --- peardoc/ja/package/benchmarking.xml:1.5 Sat Apr 29 22:56:27 2006 +++ peardoc/ja/package/benchmarking.xml Sun Jun 24 10:21:50 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8" ?> -<!-- EN-Revision: 1.5 Maintainer: Status: ready --> -<!-- $Id: benchmarking.xml,v 1.5 2006/04/29 22:56:27 haruki Exp $ --> +<!-- EN-Revision: 1.6 Maintainer: Status: ready --> +<!-- $Id: benchmarking.xml,v 1.6 2007/06/24 10:21:50 takagi Exp $ --> <chapter id="package.benchmarking"> <title>ãã³ããã¼ã¯å¦ç</title> @@ -11,6 +11,8 @@ &blankpagehack; + &package.benchmarking.benchmark; + </chapter> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/peardoc/ja/guide/migrating/intro.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/guide/migrating/intro.xml diff -u peardoc/ja/guide/migrating/intro.xml:1.1 peardoc/ja/guide/migrating/intro.xml:1.2 --- peardoc/ja/guide/migrating/intro.xml:1.1 Sun Jan 21 07:47:51 2007 +++ peardoc/ja/guide/migrating/intro.xml Sun Jun 24 10:21:50 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.1 Maintainer: haruki Status: ready --> <chapter id="guide.migrating.intro"> <chapterinfo> @@ -7,7 +7,7 @@ <firstname>Gregory</firstname> <surname>Beaver</surname> </author> - <date>$Date: 2007/01/21 07:47:51 $</date> + <date>$Date: 2007/06/24 10:21:50 $</date> </chapterinfo> <title>ã¯ããã«</title> @@ -32,13 +32,14 @@ <itemizedlist> <listitem> <para> - <link linkend="guide.migrating.customroles">ç¬èªã®ãã¡ã¤ã«ãã¼ã«s</link> - in package.xml + package.xml ã«ããã + <link linkend="guide.migrating.customroles">ç¬èªã®ãã¡ã¤ã«ãã¼ã«</link> </para> </listitem> <listitem> <para> - <link linkend="guide.migrating.customtasks">ç¬èªã®ãã¡ã¤ã«ã¿ã¹ã¯</link> in package.xml + package.xml ã«ããã + <link linkend="guide.migrating.customtasks">ç¬èªã®ãã¡ã¤ã«ã¿ã¹ã¯</link> </para> </listitem> <listitem> http://cvs.php.net/viewvc.cgi/peardoc/ja/guide/developers/documentation.xml?r1=1.13&r2=1.14&diff_format=u Index: peardoc/ja/guide/developers/documentation.xml diff -u peardoc/ja/guide/developers/documentation.xml:1.13 peardoc/ja/guide/developers/documentation.xml:1.14 --- peardoc/ja/guide/developers/documentation.xml:1.13 Thu Apr 26 03:54:40 2007 +++ peardoc/ja/guide/developers/documentation.xml Sun Jun 24 10:21:50 2007 @@ -1,10 +1,6 @@ <?xml version="1.0" encoding="utf-8" ?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.41 Maintainer: haruki Status: ready --> -<!-- - WORK IN PROGRESS, THERE IS PROBABLY LITTLE POINT IN TRANSLATING - THIS DOCUMENT YET. - --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.43 Maintainer: haruki Status: ready --> <chapter id="developers.documentation"> <chapterinfo> @@ -350,6 +346,25 @@ </para> <para> + DSSSL ã¹ã¿ã¤ã«ã·ã¼ããè¦ã¤ãããªãå ´åã¯ã次ã®ãããªã¡ãã»ã¼ã¸ã表示ããã¾ãã + </para> + <screen> +checking for docbook.dsl... defaulting - WARNING!!! +DSSSL NOT FOUND - WON'T WORK THIS WAY + </screen> + <para> + ãã®å ´åã¯ãDSSSL ããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ãã¦ãããã©ãããããä¸åº¦ç¢ºããã¦ãã ããã + Mac ã§ Fink ã使ç¨ãã¦ããå ´åã¯ãdsssl ã®å ´æãæç¤ºçã«æå®ããªããã°ãªãã¾ããã + <command>./configure --with-dsssl=/sw/share/sgml/dsssl/docbook-dsssl-nwalsh</command> + </para> + <para> + Windows ç°å¢ã§ DSSSL ã¹ã¿ã¤ã«ã·ã¼ããåå¾ããæãç°¡åãªæ¹æ³ã¯ã + cvs.php.net ãã <literal>phpdoc</literal> ã¢ã¸ã¥ã¼ã«ããã§ãã¯ã¢ã¦ããããã¨ã§ãã + ãã®ã¢ã¸ã¥ã¼ã«ã®ä¸ã® <filename>dsssl/</filename> ãã£ã¬ã¯ããªã«ãDSSSL + ã¹ã¿ã¤ã«ã·ã¼ããããã¾ãã + </para> + + <para> ä¸è¨ã«ãããããã¥ã¢ã«å ¨ä½ã® "çã®" <acronym>HTML</acronym> ãçæããã¾ãã @@ -489,6 +504,15 @@ /usr/bin/jade -wno-idref -d html.dsl -V use-output-dir -t sgml ./phpdocxml.dcl manual.xml </userinput> </screen> + + <para> + <filename>make-partial.php</filename> ã§ + å ¨é¨ã®åãã«ãã¡ãã¨çããã®ã¯çµæ§æéããããã¾ãã + <command>make partial</command> + ã«é©åãªãã©ã¡ã¼ã¿ã渡ããã»ããããã£ã¨æ©ãã§ãããããã¨ãã° + <command>make partial INCLUDE="packages package.database"</command> + ã®ããã«ãã¾ããID ã®ä¸è¦§ã¯ãmake ã®åºåã調ã¹ãã°ãããã¾ãã + </para> </sect3> </sect2> http://cvs.php.net/viewvc.cgi/peardoc/ja/chapters/faq/documentation.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/chapters/faq/documentation.xml diff -u peardoc/ja/chapters/faq/documentation.xml:1.1 peardoc/ja/chapters/faq/documentation.xml:1.2 --- peardoc/ja/chapters/faq/documentation.xml:1.1 Sat Dec 30 11:41:05 2006 +++ peardoc/ja/chapters/faq/documentation.xml Sun Jun 24 10:21:51 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: haruki Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: haruki Status: ready --> <!-- CREDITS: takagi --> <sect1 id="faq.documentation"> <title>ããã¥ã¡ã³ã使ã翻訳ã«é¢ãã FAQ</title> @@ -23,6 +23,12 @@ <filename>en/package/</filename> ã«ãåããã±ã¼ã¸ã®ããã¥ã¡ã³ãã¸ã®ãªã³ã¯ãå«ã xml ãã¡ã¤ã«ãã«ãã´ãªãã¨ã«åå¨ãã¾ããæ°ãããã¼ã¸ã¸ã®ãªã³ã¯ãããã«è¿½å ãã¦ãã ããã </para> + + <para> + <literal>cannot generate system identifier for general entity + "package.networking.net-ldap.search"</literal> + ã®ãããªã¡ãã»ã¼ã¸ã表示ãããå ´åããåå ã¯åãã§ãã + </para> </sect2> @@ -194,4 +200,4 @@ </sect2> -</sect1> \ No newline at end of file +</sect1> http://cvs.php.net/viewvc.cgi/peardoc/ja/chapters/standards.xml?r1=1.11&r2=1.12&diff_format=u Index: peardoc/ja/chapters/standards.xml diff -u peardoc/ja/chapters/standards.xml:1.11 peardoc/ja/chapters/standards.xml:1.12 --- peardoc/ja/chapters/standards.xml:1.11 Sat Apr 14 08:20:07 2007 +++ peardoc/ja/chapters/standards.xml Sun Jun 24 10:21:51 2007 @@ -1,6 +1,6 @@ <?xml encoding="utf-8"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.52 Maintainer: haruki Status: working --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.53 Maintainer: haruki Status: working --> <!-- CREDITS: hirokawa,takagi --> <chapter id="standards"> <title>æ¨æºã³ã¼ãã£ã³ã°è¦ç´</title> @@ -75,9 +75,9 @@ å¶å¾¡ãã¼ã¯ã¼ãã¨éãã«ãã³ã®éã«ç©ºç½ã 1 ã¤ç½®ãã¾ãã </simpara> <simpara> - æ§æçã«ä»»æã®å ´åã«ããæ³¢ã«ãã³ã使ç¨ãããã¨ãæ¨å¥¨ãã¾ãã - æ³¢ã«ãã³ãä»ãããã¨ã«ããå¯èªæ§ãåä¸ããæ°ããè¡ã追å ããéã« - è«ççãªã¨ã©ã¼ãç´ãããå¯è½æ§ãæ¸å°ãã¾ãã + æ§æçã«çç¥å¯è½ãªå ´åã§ããæ³¢ã«ãã³ã使ç¨ãããã¨ãæ¨å¥¨ãã¾ãã + æ³¢ã«ãã³ãä»ãããã¨ã«ããå¯èªæ§ãåä¸ãã + æ°ããè¡ã追å ããéã«è«ççãªã¨ã©ã¼ãç´ãããå¯è½æ§ãæ¸å°ãã¾ãã </simpara> <para> switch æã®å ´åã¯æ¬¡ã®ããã«ãã¾ãã @@ -128,6 +128,24 @@ </para> </sect1> + <sect1 id="standards.classdef"> + <title>ã¯ã©ã¹å®ç¾©</title> + <para> + ã¯ã©ã¹ã®å®£è¨æã«ã¯ããã£ããæ¹è¡ããå¾ã«éå§æ³¢ã«ãã³ãã¤ããããã«ãã¾ãã + <programlisting role="php"> + <![CDATA[ +class FooBar +{ + + //... ã³ã¼ããããã«æ¸ãã¾ã + +} + ]]> + </programlisting> + </para> + </sect1> + + <sect1 id="standards.funcdef"> <title>颿°å®ç¾©</title> <para> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/networking/net-ldap/search.xml?view=markup&rev=1.1 Index: peardoc/ja/package/networking/net-ldap/search.xml +++ peardoc/ja/package/networking/net-ldap/search.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <refentry id="package.networking.net-ldap.search"> <refnamediv> <refname>æ¤ç´¢</refname> <refpurpose>ã¨ã³ããªã®æ¤ç´¢æ¹æ³</refpurpose> </refnamediv> <refsect1> <title>ã¨ã³ããªã®æ¤ç´¢</title> <para> ãµã¼ãã«æ¥ç¶ãããã<classname>Net_LDAP</classname> ã® <function>search</function> ã¡ã½ããã§ãã£ã¬ã¯ããªãæ¤ç´¢ãã¾ãããã ãã®ã¡ã½ããã®ãã©ã¡ã¼ã¿ã¯æ¬¡ã®ä¸ã¤ã§ãã <itemizedlist> <listitem> <para> <literal>$base</literal> ã¯æ¤ç´¢æã«ä½¿ç¨ãããã¼ã¹ DN ã§ãã <literal>null</literal> ã®ã¾ã¾ã«ãã¦ããã¨ã æ¥ç¶æã«æå®ããããã©ã«ãã®æ¤ç´¢ DN ã使ç¨ãã¾ãã </para> </listitem> <listitem> <para> <literal>$filter</literal> ã¯ãè¿ãããçµæãæå®ããããã®åãåãããã£ã«ã¿ã§ãã æååããããã㯠<classname>Net_LDAP_Filter</classname> ãªãã¸ã§ã¯ãã§æå®ãã¾ãããªãã¸ã§ã¯ãã§æå®ãããã¨ããå§ããã¾ãã </para> </listitem> <listitem> <para> <literal>$params</literal> ã¯ãç¾å¨ã®ã¯ã¨ãªã§ä½¿ç¨ããè¨å®é ç®ã®é åã¨ãªãã¾ãã <table> <title>è¨å®ãã©ã¡ã¼ã¿</title> <tgroup cols="3"> <thead> <row> <entry>åå</entry> <entry>説æ</entry> <entry>ããã©ã«ã</entry> </row> </thead> <tbody> <row> <entry><literal>scope</literal></entry> <entry> æ¤ç´¢ã§ä½¿ç¨ããã¹ã³ã¼ã <itemizedlist> <listitem> <para> <literal>base</literal> - åä¸ã®ã¨ã³ããªã®ã¿ </para> </listitem> <listitem> <para> <literal>sub</literal> - ãã®ããªã¼å ¨ä½ </para> </listitem> <listitem> <para> <literal>one</literal> - <literal>$base</literal> ã®ç´ä¸ã®ã¿ </para> </listitem> </itemizedlist> </entry> <entry><literal>sub</literal></entry> </row> <row> <entry><literal>sizelimit</literal></entry> <entry>çµæã¨ãã¦è¿ãã¨ã³ããªã®æå¤§æ°</entry> <entry><literal>0</literal> (ç¡å¶é)</entry> </row> <row> <entry><literal>timelimit</literal></entry> <entry>æ¤ç´¢æã®æå¤§ã®å¾ ã¡æé</entry> <entry><literal>0</literal> (ç¡å¶é)</entry> </row> <row> <entry><literal>attrsonly</literal></entry> <entry><literal>true</literal> ã®å ´åã¯å±æ§åã®ã¿ãè¿ã</entry> <entry><literal>false</literal></entry> </row> <row> <entry><literal>attributes</literal></entry> <entry> ãã®ã¨ã³ããªãå«ãã§ãã屿§åã®é åã å¿ è¦ãªå±æ§ã®ã¿ã«çµãè¾¼ããã¨ããå§ããã¾ãã </entry> <entry><literal>array()</literal> (ãã¹ã¦ã®å±æ§)</entry> </row> </tbody> </tgroup> </table> </para> </listitem> </itemizedlist> </para> <example> <title>æ¤ç´¢ã¯ã¨ãªã®ä½æ</title> <programlisting role="php"><![CDATA[ $filter = 'sn=Joe*'; $searchbase = 'ou=addressbook,dc=example,dc=org'; $options = array( 'scope' => 'sub', 'attributes' => array('sn') ); $result = $ldap->search($searchbase, $filter, $options); if (PEAR::isError($result)) { die($result->getMessage() . "\n"); } ]]></programlisting> </example> </refsect1> </refentry> <!-- 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 sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/database/mdb2-schema/usage.xml?view=markup&rev=1.1 Index: peardoc/ja/package/database/mdb2-schema/usage.xml +++ peardoc/ja/package/database/mdb2-schema/usage.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <refentry id="package.database.mdb2-schema.usage"> <refnamediv> <refname>ã¤ã³ã¹ãã¼ã«ããã³ä½¿ç¨ä¾</refname> <refpurpose>MDB2_Schema ã®ã¤ã³ã¹ãã¼ã«ããã³ä½¿ç¨ä¾</refpurpose> </refnamediv> <refsect1 id="package.database.mdb2-schema.usage.installation"> <title>ã¤ã³ã¹ãã¼ã«</title> <para> ã¾ã㯠MDB2 ãã¤ã³ã¹ãã¼ã«ããªããã°ãªãã¾ããã </para> <programlisting> <![CDATA[$ pear install --alldeps MDB2]]> </programlisting> <para> 次ã«ã使ç¨ãããã¼ã¿ãã¼ã¹ç¨ã®ãã©ã¤ããã¤ã³ã¹ãã¼ã«ããªããã°ãªãã¾ããã ãã¨ãã°ãMySQL ã使ç¨ããã®ãªã次ã®ããã«ãªãã¾ãã </para> <programlisting> <![CDATA[$ pear install MDB2_Driver_Mysql]]> </programlisting> <para> 詳細ãªèª¬æã¯ MDB2 ã®ããã¥ã¡ã³ããåç §ãã ããã ãããã¯ãUnix ç³»ã®ã·ã¹ãã ããå©ç¨ã®å ´åã¯æ¬¡ã®ã³ãã³ãã§ã説æãè¦ããã¾ãã </para> <programlisting> <![CDATA[$ pear remote-list | grep MDB2]]> </programlisting> <para> MDB2_Schema 㯠MDB2 ã¨ã¯ç¬ç«ããããã±ã¼ã¸ã§ããã åãããã« PEAR ã¤ã³ã¹ãã¼ã©ã§ã¤ã³ã¹ãã¼ã«ãã¾ãã </para> <programlisting> <![CDATA[$ pear install --alldeps MDB2_Schema-beta]]> </programlisting> <para> ããã§æºåå®äºã§ã (^o^) </para> </refsect1> <refsect1 id="package.database.mdb2-schema.usage.usage"> <title>使ç¨ä¾</title> <para> MDB2_Schema ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã使ããã«ã¯ <methodname>factory()</methodname> ã使ç¨ãã¾ãã ãã®ã¡ã½ããã«ã¯ <varname>$dsn</varname> ãé åãæå®ãã¾ãã ã¾ããæ¢åã® MDB2 ãªãã¸ã§ã¯ããæå®ãããã¨ãã§ãã¾ãã 以ä¸ã®ä¾ã§ã¯ãåã« <varname>$dsn</varname> ãæå®ãã¦ãã¾ãã </para> <programlisting role="php"> <![CDATA[ <?php require_once 'MDB2/Schema.php'; $options = array( 'log_line_break' => '<br>', 'idxname_format' => '%s', 'debug' => true, 'quote_identifier' => true, 'force_defaults' => false, 'portability' => false ); $dsn = 'mysql://root:@localhost/DBname'; $schema =& MDB2_Schema::factory($dsn, $options); if (PEAR::isError($schema)) { $error = $schema->getMessage(); } $schema->disconnect(); ?> ]]> </programlisting> </refsect1> </refentry> <!-- 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 sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/database/mdb2-schema/intro.xml?view=markup&rev=1.1 Index: peardoc/ja/package/database/mdb2-schema/intro.xml +++ peardoc/ja/package/database/mdb2-schema/intro.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <refentry id="package.database.mdb2-schema.intro"> <refnamediv> <refname>å°å ¥</refname> <refpurpose>MDB2_Schema ã®ä½¿ãæ¹</refpurpose> </refnamediv> <refsect1 id="package.database.mdb2-schema.intro.refsect1"> <title>MDB2_Schema ã®ä½¿ãæ¹</title> <para> MDB2_Schema 㯠MDB2 ä¸ã§åä½ãããã¼ã«ã§ã ãã¼ã¿ãã¼ã¹ã®ã¹ãã¼ãã XML å½¢å¼ã§ç®¡çãããã¨ãã§ãã¾ãã ãã® XML ã¯ããã©ãããã©ã¼ã ããã¼ã¿ãã¼ã¹ã«ä¾åããªãå½¢å¼ã¨ãªãã¾ãã </para> <para> XML ã®æ¸å¼ã¯ Metabase ããã±ã¼ã¸ããã¨ã«ãã¦ããã ããã«æãå ãããã¨ã§ Data Manipulation Instruction ãå¤é¨ãã¼ã¨ãã£ãæ°ããã¨ã³ãã£ãã£ããµãã¼ããã¦ãã¾ãã </para> <para> ãã®ããã±ã¼ã¸ã使ç¨ããã¨ãRDBMS ã«ä¾åããªã XML å½¢å¼ã§ã¹ãã¼ããã¡ã¤ã«ã管çã§ããããã«ãªãã ãã®ãã¡ã¤ã«ãç¨ãã¦ãã¼ã¿ãã¼ã¹ã¨ã³ãã£ãã£ã®ä½æã夿´ããã¦åé¤ (DDL: ãã¼ã¿å®ç¾©è¨èª) ãè¡ã£ãããã¼ã¿ãã¼ã¹ã¸ã®ãã¼ã¿ã®æå ¥ (DML: ãã¼ã¿æä½è¨èª) ãè¡ã£ããã§ããããã«ãªãã¾ãã æ¢åã®ãã¼ã¿ãã¼ã¹ããã®ãã¼ã¿ãã¼ã¹ã¹ãã¼ãã®ãªãã¼ã¹ã¨ã³ã¸ãã¢ãªã³ã°ããµãã¼ããã¦ãã¾ãã ã¾ãããã¼ã¿ãã¼ã¹ã®ã¹ãã¼ããè§£æã㦠ãã¼ã¿ãã¼ã¹ã®ãã¼ã¿ãè¤æ°ãã¡ã¤ã«ã«åå²ããæ©è½ãããã¾ãã ãã®ããã¥ã¡ã³ãã§ã¯ã"ã¹ãã¼ããã¡ã¤ã«" ã¨ã¯ MDB2_Schema ãã¡ã¤ã«ããµãã¼ãããå½¢å¼ã® XML ãæããã®ã¨ãã¾ãã </para> <para> XML ãã¡ã¤ã«ã®èªã¿è¾¼ã¿ã¯ MDB2_Schema_Parser ãè¡ãã XML ãã¡ã¤ã«ã¸ã®æ¸ãè¾¼ã¿ã¯ MDB2_Schema_Writer ãæ å½ãã¾ãã ããã«ãXML ãã¡ã¤ã«ããã¼ã¹ããå¾ã«ã¯ MDB2_Schema_Validate ã¯ã©ã¹ãã³ã¼ã«ããã¾ããããã¯ãã¹ãã¼ããã¡ã¤ã«ã®è«ççãªæ´åæ§ã調ã¹ã¾ãã ãã¨ãã°ãåå¨ããªããã£ã¼ã«ããã¤ã³ããã¯ã¹ã¨ãã¦æå®ãã¦ããã æ¥ä»åã®ãã£ã¼ã«ãã«æµ®åå°æ°ç¹å¤ãä¿åãããã¨ãã¦ãããã¨ãã£ããã¨ããªããã©ããã調ã¹ã¾ãã </para> <para> ç¾æç¹ã§ã¯äºç¨®é¡ã®ãã¼ãµã使ç¨å¯è½ã§ãã XML_Parser ã使ç¨ãããã® (ããã©ã«ã) 㨠XML_Unserializer ã使ç¨ãããã®ãããã¾ãã MDB2_Schema ã¯ã¾ã ãã¼ã¿æ®µéã§ããã ã©ã¡ãã®ãã¼ãµã«ãå¶éäºé ãããã¾ãã ããã©ã«ãã®ã»ãã§ã¯ããã¹ããäºæ®µéã¾ã§ããæ±ãã¾ããã ããã²ã¨ã¤ã®ã»ãã§ã¯ãXML ãã¡ã¤ã«ä¸ã® DML ã®æç¤ºãåæ ããããã¨ãã§ãã¾ããã </para> <para> MDB2_Schema API ã¯å®éã®ãã¼ã¿ãã¼ã¹ããã³ XML ãã¡ã¤ã«ã®äºç¨®é¡ã®å ¥åããµãã¼ããã¦ãã¾ããã å é¨çã«ã¯ã©ã¡ããé åã§ç®¡çãã¦ãã¾ãã ãã®é åã«ã¤ãã¦ã¯ãå¾ã§è©³ãã説æãã¾ãã </para> </refsect1> </refentry> <!-- 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 sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/database/mdb2-schema.xml?view=markup&rev=1.1 Index: peardoc/ja/package/database/mdb2-schema.xml +++ peardoc/ja/package/database/mdb2-schema.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <sect1 id="package.database.mdb2-schema"> <title>MDB2_Schema</title> <para> PEAR::MDB2_Schema ã使ç¨ããã¨ãRDBMS ã«ä¾åããªãå½¢å¼ã® XML ã§ã¹ãã¼ããã¡ã¤ã«ã使ãããã¨ãã§ãã¾ãã ãã®ãã¡ã¤ã«ã使ç¨ããã¨ããã¼ã¿ãã¼ã¹ã¨ã³ãã£ãã£ã®ä½æã夿´ãåé¤ ããã¦ãã¼ã¿ãã¼ã¹ã¸ã®ãã¼ã¿ã®æå ¥ãã§ããããã«ãªãã¾ãã æ¢åã®ãã¼ã¿ãã¼ã¹ããã®ãªãã¼ã¹ã¨ã³ã¸ãã¢ãªã³ã°ããµãã¼ããã¦ãã¾ãã PEAR::MDB ããã³ Metabase ã®ã©ã¡ãã§ã使ç¨ã§ããæ¸å¼ã¨ãªãã¾ãã </para> &package.database.mdb2-schema.intro; &package.database.mdb2-schema.usage; </sect1> <!-- 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 sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/authentication/auth/intro-options.xml?view=markup&rev=1.1 Index: peardoc/ja/package/authentication/auth/intro-options.xml +++ peardoc/ja/package/authentication/auth/intro-options.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.authentication.auth.intro-options"> <refnamediv> <refname>Auth ã®ãªãã·ã§ã³</refname> <refpurpose>Auth ã®æåãå¶å¾¡ãããªãã·ã§ã³</refpurpose> </refnamediv> <refsect1 id="package.authentication.auth.intro-options.overview"> <title>Auth ã®ãªãã·ã§ã³</title> <para> åã³ã³ããã¼ã©ã®ãªãã·ã§ã³ã«å ãã¦ã Auth ãã®ãã®ã®æåã夿´ããããã®ãªãã·ã§ã³ãç¨æããã¦ãã¾ãã </para> <para> <table> <title>å©ç¨å¯è½ãªãªãã·ã§ã³</title> <tgroup cols="4"> <thead> <row> <entry>ãªãã·ã§ã³</entry> <entry>ãã¼ã¿å</entry> <entry>ããã©ã«ãå¤</entry> <entry>説æ</entry> </row> </thead> <tbody> <row> <entry> <quote>sessionName</quote> </entry> <entry> &type.string; </entry> <entry> <quote>_authsession</quote> </entry> <entry> ãã® Auth ã»ãã·ã§ã³ãèå¥ããããã®ååã <link linkend="package.authentication.auth.auth.setsessionname"> <classname>Auth</classname>::<function>setSessionName</function> </link> ãåç §ãã ããã </entry> </row> <row> <entry> <quote>allowLogin</quote> </entry> <entry> &type.bool; </entry> <entry> &true; </entry> <entry> ãã®ãã¼ã¸ã§ã®ãã°ã¤ã³ã許å¯ãããã©ããã <link linkend="package.authentication.auth.auth.setallowlogin"> <classname>Auth</classname>::<function>setAllowLogin</function> </link> ãåç §ãã ããã </entry> </row> <row> <entry> <quote>postUsername</quote> </entry> <entry> &type.string; </entry> <entry> <quote>username</quote> </entry> <entry> èªè¨¼ç¨ã®ã¦ã¼ã¶åãå«ããã£ã¼ã«ãã®ã®ååã </entry> </row> <row> <entry> <quote>postPassword</quote> </entry> <entry> &type.string; </entry> <entry> <quote>password</quote> </entry> <entry> èªè¨¼ç¨ã®ãã¹ã¯ã¼ããå«ããã£ã¼ã«ãã®ååã </entry> </row> <row> <entry> <quote>advancedsecurity</quote> </entry> <entry> &type.bool; </entry> <entry> &false; </entry> <entry> é«åº¦ãªã»ãã¥ãªãã£æ©è½ãæå¹ã«ãããã©ããã <link linkend="package.authentication.auth.auth.setadvancedsecurity"> <classname>Auth</classname>::<function>setAdvancedSecurity</function> </link> ãåç §ãã ããã </entry> </row> <row> <entry> <quote>enableLogging</quote> </entry> <entry> &type.bool; </entry> <entry> &false; </entry> <entry> å é¨ã®ãã°åºåæ©è½ãæå¹ã«ãããã©ããã <link linkend="package.authentication.auth.intro-logging"> ãã°è¨é²ã®ãµã³ãã« </link> ããã³ <link linkend="package.authentication.auth.auth.attachlogobserver"> <classname>Auth</classname>::<function>attachLogObserver</function> </link> ãåç §ãã ããã </entry> </row> <row> <entry> <quote>regenerateSessionId</quote> </entry> <entry> &type.bool; </entry> <entry> &false; </entry> <entry> &true; ã«ããã¨ããã¼ã¸ãèªã¿è¾¼ããã³ã«ã»ãã·ã§ã³ ID ãåçæãã¾ãã &false; ã®ã¾ã¾ã«ãã¦ããã¨ãæåã«ãã°ã¤ã³ããéã«ã®ã¿åçæãã¾ãã </entry> </row> </tbody> </tgroup> </table> </para> </refsect1> </refentry> <!-- 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 sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
http://cvs.php.net/viewvc.cgi/peardoc/ja/package/text/text-captcha/example.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/text/text-captcha/example.xml diff -u peardoc/ja/package/text/text-captcha/example.xml:1.2 peardoc/ja/package/text/text-captcha/example.xml:1.3 --- peardoc/ja/package/text/text-captcha/example.xml:1.2 Mon Nov 27 14:58:54 2006 +++ peardoc/ja/package/text/text-captcha/example.xml Sun Jun 24 10:21:50 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: takagi Status: ready --> <sect2 id="package.text.text-captcha.example"> <title>ä¾</title> @@ -33,6 +33,7 @@ $retval = $c->init(200, 80, null, $options); if (PEAR::isError($retval)) { echo 'CAPTCHA 使æã«ã¨ã©ã¼!'; + echo $retval->getMessage(); exit; } @@ -43,6 +44,7 @@ $png = $c->getCAPTCHAAsPNG(); if (PEAR::isError($png)) { echo 'CAPTCHA 使æã«ã¨ã©ã¼!'; + echo $png->getMessage(); exit; } file_put_contents(md5(session_id()) . '.png', $png); http://cvs.php.net/viewvc.cgi/peardoc/ja/package/networking/net-ldap/connect.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/networking/net-ldap/connect.xml diff -u peardoc/ja/package/networking/net-ldap/connect.xml:1.1 peardoc/ja/package/networking/net-ldap/connect.xml:1.2 --- peardoc/ja/package/networking/net-ldap/connect.xml:1.1 Sat Apr 14 08:20:49 2007 +++ peardoc/ja/package/networking/net-ldap/connect.xml Sun Jun 24 10:21:50 2007 @@ -1,119 +1,130 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> -<sect2 id="package.networking.net-ldap.connecting"> - <title>LDAP ãµã¼ãã¸ã®æ¥ç¶</title> - - <para> - LDAP ãµã¼ãã«æ¥ç¶ããã«ã¯ã - <classname>Net_LDAP</classname> ã®éçã¡ã½ãã - <function>connect</function> ã使ç¨ãã¾ãã - ãã®ã¡ã½ããã«æ¸¡ããã©ã¡ã¼ã¿ã¯ã²ã¨ã¤ã§ããã®å 容ã¯è¨å®ãªãã·ã§ã³ã®é åã§ãã - æ¥ç¶ã«æåããå ´å㯠<classname>Net_LDAP</classname> ãªãã¸ã§ã¯ãã - 失æããå ´å㯠<classname>PEAR_Error</classname> ãªãã¸ã§ã¯ããè¿ãã¾ãã - </para> - - <para> - è¨å®ãªãã·ã§ã³ã®å 容ã«ã¤ãã¦ã次ã®è¡¨ã«ã¾ã¨ãã¾ãã - ããã©ã«ãå¤ã§éã«åããªããè¨å®é åã§ãã®é ç®ãæå®ããå¿ è¦ã¯ããã¾ããã - - <table> - <title>è¨å®ãªãã·ã§ã³</title> - <tgroup cols="3"> - <thead> - <row> - <entry>åå</entry> - <entry>説æ</entry> - <entry>ããã©ã«ã</entry> - </row> - </thead> - <tbody> - <row> - <entry><literal>host</literal></entry> - <entry>æ¥ç¶ãã LDAP ãµã¼ã</entry> - <entry><literal>localhost</literal></entry> - </row> - - <row> - <entry><literal>port</literal></entry> - <entry>æ¥ç¶ãããã¼ã</entry> - <entry>389</entry> - </row> - - <row> - <entry><literal>version</literal></entry> - <entry>LDAP ã®ãã¼ã¸ã§ã³</entry> - <entry><literal>3</literal></entry> - </row> - - <row> - <entry><literal>starttls</literal></entry> - <entry>æ¥ç¶å¾ã« TLS ãéå§ãã</entry> - <entry><literal>false</literal></entry> - </row> - - <row> - <entry><literal>binddn</literal></entry> - <entry>ãã¤ã³ãããèå¥å (ã¦ã¼ã¶å)</entry> - <entry>(ãªã)</entry> - </row> - - <row> - <entry><literal>bindpw</literal></entry> - <entry><literal>binddn</literal> ã«å¯¾å¿ãããã¹ã¯ã¼ã</entry> - <entry>(ãªã)</entry> - </row> - - <row> - <entry><literal>basedn</literal></entry> - <entry>LDAP ã®ãã¼ã¹å (ã«ã¼ããã£ã¬ã¯ããª)</entry> - <entry>(ãªã)</entry> - </row> - - <row> - <entry><literal>options</literal></entry> - <entry>追å ã§æå®ãã ldap ãªãã·ã§ã³ã表ã ãã¼/å¤ ã®é å</entry> - <entry><literal>array()</literal></entry> - </row> - - <row> - <entry><literal>filter</literal></entry> - <entry>ããã©ã«ãã®æ¤ç´¢ãã£ã«ã¿</entry> - <entry><literal>(objectClass=*)</literal></entry> - </row> - - <row> - <entry><literal>scope</literal></entry> - <entry>ããã©ã«ãã®æ¤ç´¢ã¹ã³ã¼ã (<function>search</function> ãåç §ãã ãã)</entry> - <entry><literal>sub</literal></entry> - </row> - - </tbody> - </tgroup> - </table> - </para> - - <example> - <title>LDAP ãµã¼ãã¸ã®æ¥ç¶</title> - <programlisting role="php"><![CDATA[ +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.4 Maintainer: takagi Status: ready --> +<refentry id="package.networking.net-ldap.connecting"> + <refnamediv> + <refname>è¨å®ããã³æ¥ç¶</refname> + <refpurpose>Net_LDAP ã®è¨å®ãããã³ LDAP ãµã¼ãã¸ã®æ¥ç¶</refpurpose> + </refnamediv> + + <refsect1> + <title>LDAP ãµã¼ãã¸ã®æ¥ç¶</title> + + <para> + LDAP ãµã¼ãã«æ¥ç¶ããã«ã¯ã + <classname>Net_LDAP</classname> ã®éçã¡ã½ãã + <function>connect</function> ã使ç¨ãã¾ãã + ãã®ã¡ã½ããã«æ¸¡ããã©ã¡ã¼ã¿ã¯ã²ã¨ã¤ã§ããã®å 容ã¯è¨å®ãªãã·ã§ã³ã®é åã§ãã + æ¥ç¶ã«æåããå ´å㯠<classname>Net_LDAP</classname> ãªãã¸ã§ã¯ãã + 失æããå ´å㯠<classname>PEAR_Error</classname> ãªãã¸ã§ã¯ããè¿ãã¾ãã + </para> + + <para> + è¨å®ãªãã·ã§ã³ã®å 容ã«ã¤ãã¦ã次ã®è¡¨ã«ã¾ã¨ãã¾ãã + ããã©ã«ãå¤ã§éã«åããªããè¨å®é åã§ãã®é ç®ãæå®ããå¿ è¦ã¯ããã¾ããã + + <table> + <title>è¨å®ãªãã·ã§ã³</title> + <tgroup cols="3"> + <thead> + <row> + <entry>åå</entry> + <entry>説æ</entry> + <entry>ããã©ã«ã</entry> + </row> + </thead> + <tbody> + <row> + <entry><literal>host</literal></entry> + <entry>æ¥ç¶ãã LDAP ãµã¼ã</entry> + <entry><literal>localhost</literal></entry> + </row> + + <row> + <entry><literal>port</literal></entry> + <entry>æ¥ç¶ãããã¼ã</entry> + <entry>389</entry> + </row> + + <row> + <entry><literal>version</literal></entry> + <entry>LDAP ã®ãã¼ã¸ã§ã³</entry> + <entry><literal>3</literal></entry> + </row> + + <row> + <entry><literal>starttls</literal></entry> + <entry>æ¥ç¶å¾ã« TLS ãéå§ãã</entry> + <entry><literal>false</literal></entry> + </row> + + <row> + <entry><literal>binddn</literal></entry> + <entry>ãã¤ã³ãããèå¥å (ã¦ã¼ã¶å)</entry> + <entry>(ãªã)</entry> + </row> + + <row> + <entry><literal>bindpw</literal></entry> + <entry><literal>binddn</literal> ã«å¯¾å¿ãããã¹ã¯ã¼ã</entry> + <entry>(ãªã)</entry> + </row> + + <row> + <entry><literal>basedn</literal></entry> + <entry>LDAP ã®ãã¼ã¹å (ã«ã¼ããã£ã¬ã¯ããª)</entry> + <entry>(ãªã)</entry> + </row> + + <row> + <entry><literal>options</literal></entry> + <entry>追å ã§æå®ãã ldap ãªãã·ã§ã³ã表ã ãã¼/å¤ ã®é å</entry> + <entry><literal>array()</literal></entry> + </row> + + <row> + <entry><literal>filter</literal></entry> + <entry>ããã©ã«ãã®æ¤ç´¢ãã£ã«ã¿</entry> + <entry><literal>(objectClass=*)</literal></entry> + </row> + + <row> + <entry><literal>scope</literal></entry> + <entry>ããã©ã«ãã®æ¤ç´¢ã¹ã³ã¼ã (<function>search</function> ãåç §ãã ãã)</entry> + <entry><literal>sub</literal></entry> + </row> + + </tbody> + </tgroup> + </table> + </para> + + <example> + <title>LDAP ãµã¼ãã¸ã®æ¥ç¶</title> + <programlisting role="php"><![CDATA[ +// Net_LDAP ããã±ã¼ã¸ã®èªã¿è¾¼ã¿ require_once 'Net/LDAP.php'; +// è¨å®é å $config = array ( - 'binddn' => 'cn=admin,ou=users,dc=example,dc=org', - 'bindpw' => 'password', - 'basedn' => 'ou=addressbook,dc=example,dc=org', - 'host' => 'ldap.example.org' - ); + 'binddn' => 'cn=admin,ou=users,dc=example,dc=org', + 'bindpw' => 'password', + 'basedn' => 'ou=addressbook,dc=example,dc=org', + 'host' => 'ldap.example.org' +); +// è¨å®ãç¨ããæ¥ç¶ $ldap = Net_LDAP::connect($config); +// æ¥ç¶æã®ã¨ã©ã¼ã®ç¢ºèª if (PEAR::isError($ldap)) { - die($ldap->getMessage() . "\n"); + die('LDAP ãµã¼ãã«æ¥ç¶ã§ãã¾ããã§ãã: '.$ldap->getMessage()); } ]]></programlisting> - </example> + </example> -</sect2> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml http://cvs.php.net/viewvc.cgi/peardoc/ja/package/networking/net-ldap.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/networking/net-ldap.xml diff -u peardoc/ja/package/networking/net-ldap.xml:1.1 peardoc/ja/package/networking/net-ldap.xml:1.2 --- peardoc/ja/package/networking/net-ldap.xml:1.1 Sat Apr 14 08:20:49 2007 +++ peardoc/ja/package/networking/net-ldap.xml Sun Jun 24 10:21:50 2007 @@ -1,18 +1,22 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.4 Maintainer: takagi Status: ready --> <sect1 id="package.networking.net-ldap"> - <title>Net_LDAP</title> - - <para> - LDAP (Lightweight Directory Access Protocol) ãµã¼ãã¸ã®åãåãããè¡ãã¾ãã - </para> - - &package.networking.net-ldap.connect; - &package.networking.net-ldap.query; - &package.networking.net-ldap.results; - <!-- FIXME: write more sections --> - + <title>Net_LDAP</title> + + <para> + Net_LDAP ã¯ããã£ã¬ã¯ããªãµã¼ãã«ä¿åããããã¼ã¿ã®åãåããã夿´ã + PHP ã«ãã£ã¦ãªãã¸ã§ã¯ãæåã§è¡ãã¾ãã + </para> + <para> + 詳細ãªä½¿ç¨ä¾ã¯ã<literal>/your/pear/path/docs/Net_LDAP/examples/</literal> + ã«ããã¾ãã + </para> +<!-- + &package.networking.net-ldap.introduction; + &package.networking.net-ldap.errorhandling;--> + &package.networking.net-ldap.connect; + &package.networking.net-ldap.search; </sect1> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/peardoc/ja/package/database/mdb2/intro.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/database/mdb2/intro.xml diff -u peardoc/ja/package/database/mdb2/intro.xml:1.2 peardoc/ja/package/database/mdb2/intro.xml:1.3 --- peardoc/ja/package/database/mdb2/intro.xml:1.2 Tue Oct 31 00:23:22 2006 +++ peardoc/ja/package/database/mdb2/intro.xml Sun Jun 24 10:21:50 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.8 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.9 Maintainer: takagi Status: ready --> <refentry id="package.database.mdb2.intro"> <refnamediv> <refname>å°å ¥</refname> @@ -181,8 +181,29 @@ <refsect1> + <title>ã¤ã³ã¹ãã¼ã«</title> + <para> + PEAR <classname>MDB2</classname> ãã¤ã³ã¹ãã¼ã«ããã ãã§ã¯ã + åºæ¬ã¯ã©ã¹ããã¤ã³ã¹ãã¼ã«ããã¾ãããå®éã«åä½ãããã«ã¯ã + å DBMS ç¨ã®é©åãªãã©ã¤ããã¤ã³ã¹ãã¼ã«ããå¿ è¦ãããã¾ãã + ãã¨ãã°ãMySQL ããã³ PostgreSQL ç¨ã®ãã©ã¤ããã¤ã³ã¹ãã¼ã«ããã«ã¯ + 次ã®ãããªã³ãã³ããå®è¡ãã¾ãã + <programlisting> + <![CDATA[ +$ pear install MDB2 + +$ pear install MDB2#mysql + +$ pear install MDB2#pgsql + ]]> + </programlisting> + ãã¾ãè¡ããªãå ´å㯠<link linkend="package.database.mdb2.faq">FAQ</link> + ãåç §ãã ããã + </para> + </refsect1> + + <refsect1> <title>å¤é¨ã®ãµãã¼ããªã½ã¼ã¹</title> - <itemizedlist> <listitem> <simpara> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/database/mdb2/faq.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/database/mdb2/faq.xml diff -u peardoc/ja/package/database/mdb2/faq.xml:1.2 peardoc/ja/package/database/mdb2/faq.xml:1.3 --- peardoc/ja/package/database/mdb2/faq.xml:1.2 Sun Nov 26 08:40:55 2006 +++ peardoc/ja/package/database/mdb2/faq.xml Sun Jun 24 10:21:50 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: takagi Status: ready --> <!-- @@ -42,6 +42,8 @@ <para> ãã¨ãã° SQLite ã使ç¨ãããå ´åã¯ã <command>pear install MDB2_Driver_sqlite</command> + ãããã¯åç´ã« + <command>pear install MDB2#sqlite</command> ã¨ããã°åãããã«ãªãã¾ãã </para> <para> @@ -68,6 +70,20 @@ ã¨ããã°ãã¾ãåãã¾ãã </para> </refsect1> + + <refsect1 id="package.database.mdb2.faq.twoinstances"> + <title>è¤æ°ã®ã¤ã³ã¹ã¿ã³ã¹ã使ãã¦ç°ãªããã¼ã¿ãã¼ã¹ã使ç¨ãããã¨ãã§ããªã</title> + <para> + è¤æ°ã®ãã¼ã¿ãã¼ã¹ãåæã«ä½¿ç¨ãããã¨ããã¨ã + äºçªç®ã®ãã¼ã¿ãã¼ã¹ã«æ¥ç¶ããç¬éã«æåã®ãã¼ã¿ãã¼ã¹ã¨ã®æ¥ç¶ã失ããããã¨ã«æ°ã¥ãããã§ãããã + ããã¯ãDBMS ãç´è¿ã«ãªã¼ãã³ãããæ¥ç¶ãåå©ç¨ãããã¨ããããã§ãããã®åé¡ã解決ããã«ã¯ã + <link linkend="package.database.mdb2.intro-dsn">DSN ã® <parameter>new_link</parameter> ãªãã·ã§ã³</link> + ã &true; ã«ãã¾ãã + </para> + </refsect1> + + + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/peardoc/ja/package/database/mdb2/datatypes.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/database/mdb2/datatypes.xml diff -u peardoc/ja/package/database/mdb2/datatypes.xml:1.2 peardoc/ja/package/database/mdb2/datatypes.xml:1.3 --- peardoc/ja/package/database/mdb2/datatypes.xml:1.2 Sat Dec 9 00:08:36 2006 +++ peardoc/ja/package/database/mdb2/datatypes.xml Sun Jun 24 10:21:50 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.8 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.9 Maintainer: takagi Status: ready --> <refentry id="package.database.mdb2.datatypes"> <refnamediv> <refname>ãã¼ã¿å</refname> @@ -672,9 +672,19 @@ <title>ç¬èªã®ãã¼ã¿åããããªãæ å ±</title> <para> ç¬èªã®ãã¼ã¿åãå®ç¾©ãããã¨ãã§ãã¾ãã - ããã«ã¤ãã¦ããã®ãã¡ã«ç´¹ä»ãã¾ããä»ã®ã¨ããã¯ãblog ã® - <ulink url="http://pooteeweet.org/blog/413">ãã®æç¨¿</ulink> - ãåç §ãã ããã + ããã«ã¤ãã¦ããã®ãã¡ã«ç´¹ä»ãã¾ããä»ã®ã¨ããã¯ãblog ã®ãããã®æç¨¿ãåç §ãã ããã + <itemizedlist> + <listitem> + <simpara> + <ulink url="http://pooteeweet.org/blog/413">To serialize or to not serialize?</ulink> + </simpara> + </listitem> + <listitem> + <simpara> + <ulink url="http://www.fornax.net/blog/archives/96-Custom-Types-in-PEARMDB2.html">Custom Types in PEAR::MDB2</ulink> + </simpara> + </listitem> + </itemizedlist> </para> <para> ãããªãæ å ±ã¯ http://cvs.php.net/viewvc.cgi/peardoc/ja/package/database/db-table/intro.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/database/db-table/intro.xml diff -u peardoc/ja/package/database/db-table/intro.xml:1.1 peardoc/ja/package/database/db-table/intro.xml:1.2 --- peardoc/ja/package/database/db-table/intro.xml:1.1 Fri Oct 27 14:40:56 2006 +++ peardoc/ja/package/database/db-table/intro.xml Sun Jun 24 10:21:50 2007 @@ -1,30 +1,200 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> - <refentry id="package.database.db-table.intro"> - <refnamediv> - <refname>å°å ¥</refname> - <refpurpose> - ãã¼ã¿ãã¼ã¹ã®ãã¼ãã«ã«å¯¾ãããªãã¸ã§ã¯ãæåã¤ã³ã¿ã¼ãã§ã¤ã¹ - </refpurpose> - </refnamediv> - <refsect1> - <title>DB_Table ã«ã¤ãã¦</title> - <para> - DB_Table ã¯ããã¼ã¿ãã¼ã¹ã®ãã¼ãã«ã«å¯¾ãããªãã¸ã§ã¯ãæåã®ã¤ã³ã¿ã¼ãã§ã¤ã¹ã§ãã - PEAR DB ã¯ã©ã¹ã®ã©ããã¼ã¨ãã¦åä½ãã - createãinsertãupdateãdelete ããã³ select ã®èªåçæãè£å©ããã¡ã½ãããæä¾ãã¾ãã - ã¾ããHTML_QuickForm ã使ç¨ãã¦å ¥åãã©ã¼ã ãèªåçæããã¡ã½ãããæä¾ãã¾ãã - </para> - - <para> - <ulink url="http://wiki.ciaweb.net/yawiki/index.php?area=DB_Table"> - å®å ¨ãªãªã³ã©ã¤ã³ããã¥ã¡ã³ãã¯ããã¡ãã§ã</ulink>ã - </para> - </refsect1> - </refentry> - - +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> + +<refentry id="package.database.db-table.intro"> + <refnamediv> + <refname>å°å ¥</refname> + <refpurpose> + DB_Table ããã±ã¼ã¸ã®æ¦è¦ + </refpurpose> + </refnamediv> + +<refsect1 id="package.database.db-table.intro.desc"> +&title.desc; + + <para> + DB_Table ããã±ã¼ã¸ã¯ããã¼ã¿ãã¼ã¹ã¸ã®ãªãã¸ã§ã¯ãæåã®ã¤ã³ã¿ã¼ãã§ã¤ã¹ãæä¾ãã¾ãã + 主è¦ãªã¯ã©ã¹ã¯ã次㮠3 ã¤ã§ãã + <itemizedlist> + <listitem> + <simpara> + <classname>DB_Table</classname> - + ãã¼ã¿ãã¼ã¹ã®ãã¼ãã«ã«å¯¾ããã¤ã³ã¿ã¼ãã§ã¤ã¹ãããã¦ãã¼ãã«ã®ã¢ãã«ã + </simpara> + </listitem> + <listitem> + <simpara> + <classname>DB_Table_Database</classname> - + ãªã¬ã¼ã·ã§ãã«ãã¼ã¿ãã¼ã¹ã«å¯¾ããã¤ã³ã¿ã¼ãã§ã¤ã¹ã + ããã¦ãªã¬ã¼ã·ã§ãã«ãã¼ã¿ãã¼ã¹ã®ã¢ãã«ã + </simpara> + </listitem> + <listitem> + <simpara> + <classname>DB_Table_Generator</classname> - + æ¢åã®ãã¼ã¿ãã¼ã¹ããã®ã³ã¼ãçæã + </simpara> + </listitem> + </itemizedlist> + ãã®ããã±ã¼ã¸ã¯ DB_Table ã¯ã©ã¹ããå§ã¾ãã¾ããã + ãããæ¸ããã®ã¯ Paul M. Jones ã§ããDatabase ã¯ã©ã¹ã¨ + Generator ã¯ã©ã¹ã¯ããããã 1.5.0RC1 ããã³ 1.5.0RC2 + ã§è¿½å ããã¾ããããããã®ããã¥ã¢ã«ã¯ 1.5.0 ã§è¿½å ããã¾ããã + </para> + + <para> + ã³ã¢ã® <classname>DB_Table</classname> ã¯ã©ã¹ã®ããããã£ã«ã¯ã + ãã¼ãã«ã®ã¹ãã¼ãã坿¬æ§ã®é«ã + <link linkend="package.database.db-table.intro-datatypes"> + ãã¼ã¿å</link> ãç¨ãã¦è¡¨ãããã®ãæ ¼ç´ããã¦ãã¾ãã + ã¯ã©ã¹ã¡ã½ããã¨ãã¦ã¯ãSQL ã³ãã³ã INSERT ã + UPDATEãDELETEãSELECT ã使ãããçºè¡ããããã便å©ãª API + ãç¨æããã¦ãã¾ããã¾ããå®ç¾©æ¸ã¿ã®ã¹ãã¼ããã + RDBMS ã®ãã¼ãã«ã使ããã¡ã½ãããããã¾ãã + ãã¼ã¿ã®è¿½å ãæ´æ°ã®éã«ã¯ãç°¡åãªåã®æ¤è¨¼ãè¡ãã¾ãã + ã¾ããã«ã©ã ã®å®ç¾©ããã¨ã«ãã¦èªåçã« + <classname>HTML_QuickForm</classname> + ã®å ¥åãã©ã¼ã ã使ããã¡ã½ãããããã¾ãã + </para> + + <para> + <classname>DB_Table_Database</classname> ã®ã¤ã³ã¹ã¿ã³ã¹ã«ã¯ã + ãã¼ã¿ãã¼ã¹å ã®ãã¼ãã«éã®ãªã¬ã¼ã·ã§ã³ã«ã¤ãã¦ã®ã¢ãã«ãå«ã¾ãã¾ãã + åãã¼ãã«ã¯ + <classname>DB_Table</classname> ã®ã¤ã³ã¹ã¿ã³ã¹ã¨ãã¦è¡¨ããã¾ãã + <function>autoJoin</function> ã¡ã½ããã使ç¨ããã¨ã + ä»»æã®æ°ã®ãã¼ãã«ãé£çµããã¯ã¨ãªã®çµåæ¡ä»¶ãèªåçã«ä½æãããã¨ãã§ãã¾ãã + ãã®ã¯ã©ã¹ã«ã¯ãå¤é¨ãã¼ã®å¦¥å½æ§ã PHP å´ã§æ¤è¨¼ããæ©è½ãããã¾ãã + ã¾ããåç §ããã¦ããè¡ãåé¤ããããæ´æ°ããããããã¨ãã«è¡ãããå¦çã + ã¤ã¾ããããããé£éåé¤ãªã©ã PHP ã§ã¨ãã¥ã¬ã¼ããããã¨ãã§ãã¾ãã + </para> + + <para> + <classname>DB_Table_Generator</classname> ã¯ã©ã¹ã使ç¨ããã¨ã + DB_Table ããã±ã¼ã¸ã§æ¢åã®ãã¼ã¿ãã¼ã¹ã¨ã®ã¤ã³ã¿ã¼ãã§ã¤ã¹ã使ããéã«å¿ è¦ãª + PHP ã³ã¼ããèªåçã«çæãããã¨ãã§ãã¾ãã + ããã¯ãæåã«ãã¼ã¿ãã¼ã¹ã¨ã®ã¤ã³ã¿ã¼ãã§ã¤ã¹ã使ããéã«ã®ã¿ä½¿ç¨ãã¾ãã + </para> + + <para> + ãããã®åã¯ã©ã¹ã«ã¤ãã¦ã¯ããã以éã®ãã¼ã¸ã§åå¥ã«èª¬æãã¾ãã + </para> + + <!-- + <para> + Each instance of <classname>DB_Table</classname> and + <classname>DB_Table_Database</classname> wraps an underlying + <classname>DB</classname> or <classname>MDB2</classname> object, + which establishes a connection to the interface. The database + can generally be accessed by any of: + i) Using the <classname>DB/MDB2</classname> object to submit + raw SQL commands, + ii) Using the methods of a <classname>DB_Table</classname> object + to access a particular tables, + iii) Using a <classname>DB_Table_Database</classname> as a gateway + to an entire database. All three of these layers of software remain + accessible. Many of the features provided by the + <class>DB_Table</classname> and + <class>DB_Table_Database</class> + layers rely upon fact that these layers "know" the table or + database schema, and can use that information to simplify or + automate some operations. + </para> + + <para> + The package is designed to provide a convenient interface for + constructing, submitting, and manipulating SQL commands, but does + not attempt to replace SQL with a different model for interaction + with a database. Unlike many Object Relational Mapper (ORM) + classes, such as DB_DataObject and the Ruby-on-Rails ActiveRecord + class, <class>DB_Table</classname> does not implement the Active + Record pattern: A <classname>DB_Table</classname> provides a + gateway to a database table, but is not also used to encapsulate + rows of data to be inserted or rows returned by a query. The + interfaces for submitting INSERT, UPDATE, DELETE, and SELECT + commands via the <classname>DB_Table</classname> and + <classname>DB_Table_Database</classname> are all closely related + to the underlying SQL commands, and allow arbitrary SQL commands + to be submitted. Rows of data to be inserted or updated are passed + to methods named <function>insert</function> + and <function>update</function> as associative arrays in which + the keys are column names. Quoting and date type validation + are taken care of automatically, using knowledge of the + corresponding column types. SELECT commands are represented + as arrays, in which different elements of the array represent + different clauses, and the values are arbitrary SQL strings. + This representation allows queries to modified relatively + easily, while also allowing arbitary queries to be constructed + and submitted. The <classname>DB_Table_DataBase</classname> + contains a method to automate the construction of join + conditions for inner joins involving any number of tables. + (Support for outer joins is planned), using only a minimum + of information. + </para> + + <para> + The purposes of the package are broadly similar to those of a + number of other database interface or "object relational mapper" + (ORM) packages, including the PEAR DB_DataObject package. Some + distinctive features of the its design: + <itemizedlist> + <listitem> + <simpara> + The package is designed to simplify the generation and + submission of SQL commands, but not to replace SQL with + </simpara> + </listitem> + <listitem> + <simpara> + The schema of each table (i.e., the column and index definitions) + is embedded within the properties of a corresponding + <classname>DB_Table</classname> object, rather than in a separate + initialization file. A model of the relationship between tables + in a database is contained in the properties of a corresponding + <classname>DB_Table_Database</classname> object. + </simpara> + </listitem> + <listitem> + <simpara> + The <classname>DB_Table</classname> class was originally designed + to allow the PHP table interface to be written first, and each + database table to be automatically created from a programmatically + defined schema. The addition of the + <classname>DB_Table_Generator</classname> allows the reverse + procedure as well, in which the required PHP interface code is + generated so as to match an existing database. + </simpara> + </listitem> + <listitem> + <simpara> + The package provides a simple interface for SQL insert, update, + and delete data modification commands in which to be inserted or + or updated is specified as an associative arrays with column name + keys. + </simpara> + </listitem> + <listitem> + <simpara> + The package provides a syntax for queries in which each SQL select + command is represented as an array, in which each clause (SELECT, + FROM, WHERE, etc.) is a different array element. This makes it + easy to re-use and modify common or complicated queries. The + interface for submitting a query makes it easy to limit the query + by adding a further logical condition, change the ORDER BY clause, + or limit the number of rows. + </simpara> + </listitem> + <listitem> + <simpara> + </listitem> + <itemizedlist> + </para> + --> + +</refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/peardoc/ja/package/database.xml?r1=1.9&r2=1.10&diff_format=u Index: peardoc/ja/package/database.xml diff -u peardoc/ja/package/database.xml:1.9 peardoc/ja/package/database.xml:1.10 --- peardoc/ja/package/database.xml:1.9 Wed Nov 8 13:46:09 2006 +++ peardoc/ja/package/database.xml Sun Jun 24 10:21:50 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8" ?> -<!-- EN-Revision: 1.14 Maintainer: elf Status: ready --> -<!-- $Id: database.xml,v 1.9 2006/11/08 13:46:09 takagi Exp $ --> +<!-- EN-Revision: 1.15 Maintainer: elf Status: ready --> +<!-- $Id: database.xml,v 1.10 2007/06/24 10:21:50 takagi Exp $ --> <chapter id="package.database"> <title>ãã¼ã¿ãã¼ã¹</title> @@ -20,6 +20,7 @@ &package.database.mdb; &package.database.mdb2; &package.database.mdb-querytool; + &package.database.mdb2-schema; </chapter> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/peardoc/ja/package/benchmarking.xml?r1=1.5&r2=1.6&diff_format=u Index: peardoc/ja/package/benchmarking.xml diff -u peardoc/ja/package/benchmarking.xml:1.5 peardoc/ja/package/benchmarking.xml:1.6 --- peardoc/ja/package/benchmarking.xml:1.5 Sat Apr 29 22:56:27 2006 +++ peardoc/ja/package/benchmarking.xml Sun Jun 24 10:21:50 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8" ?> -<!-- EN-Revision: 1.5 Maintainer: Status: ready --> -<!-- $Id: benchmarking.xml,v 1.5 2006/04/29 22:56:27 haruki Exp $ --> +<!-- EN-Revision: 1.6 Maintainer: Status: ready --> +<!-- $Id: benchmarking.xml,v 1.6 2007/06/24 10:21:50 takagi Exp $ --> <chapter id="package.benchmarking"> <title>ãã³ããã¼ã¯å¦ç</title> @@ -11,6 +11,8 @@ &blankpagehack; + &package.benchmarking.benchmark; + </chapter> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/peardoc/ja/guide/migrating/intro.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/guide/migrating/intro.xml diff -u peardoc/ja/guide/migrating/intro.xml:1.1 peardoc/ja/guide/migrating/intro.xml:1.2 --- peardoc/ja/guide/migrating/intro.xml:1.1 Sun Jan 21 07:47:51 2007 +++ peardoc/ja/guide/migrating/intro.xml Sun Jun 24 10:21:50 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.1 Maintainer: haruki Status: ready --> <chapter id="guide.migrating.intro"> <chapterinfo> @@ -7,7 +7,7 @@ <firstname>Gregory</firstname> <surname>Beaver</surname> </author> - <date>$Date: 2007/01/21 07:47:51 $</date> + <date>$Date: 2007/06/24 10:21:50 $</date> </chapterinfo> <title>ã¯ããã«</title> @@ -32,13 +32,14 @@ <itemizedlist> <listitem> <para> - <link linkend="guide.migrating.customroles">ç¬èªã®ãã¡ã¤ã«ãã¼ã«s</link> - in package.xml + package.xml ã«ããã + <link linkend="guide.migrating.customroles">ç¬èªã®ãã¡ã¤ã«ãã¼ã«</link> </para> </listitem> <listitem> <para> - <link linkend="guide.migrating.customtasks">ç¬èªã®ãã¡ã¤ã«ã¿ã¹ã¯</link> in package.xml + package.xml ã«ããã + <link linkend="guide.migrating.customtasks">ç¬èªã®ãã¡ã¤ã«ã¿ã¹ã¯</link> </para> </listitem> <listitem> http://cvs.php.net/viewvc.cgi/peardoc/ja/guide/developers/documentation.xml?r1=1.13&r2=1.14&diff_format=u Index: peardoc/ja/guide/developers/documentation.xml diff -u peardoc/ja/guide/developers/documentation.xml:1.13 peardoc/ja/guide/developers/documentation.xml:1.14 --- peardoc/ja/guide/developers/documentation.xml:1.13 Thu Apr 26 03:54:40 2007 +++ peardoc/ja/guide/developers/documentation.xml Sun Jun 24 10:21:50 2007 @@ -1,10 +1,6 @@ <?xml version="1.0" encoding="utf-8" ?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.41 Maintainer: haruki Status: ready --> -<!-- - WORK IN PROGRESS, THERE IS PROBABLY LITTLE POINT IN TRANSLATING - THIS DOCUMENT YET. - --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.43 Maintainer: haruki Status: ready --> <chapter id="developers.documentation"> <chapterinfo> @@ -350,6 +346,25 @@ </para> <para> + DSSSL ã¹ã¿ã¤ã«ã·ã¼ããè¦ã¤ãããªãå ´åã¯ã次ã®ãããªã¡ãã»ã¼ã¸ã表示ããã¾ãã + </para> + <screen> +checking for docbook.dsl... defaulting - WARNING!!! +DSSSL NOT FOUND - WON'T WORK THIS WAY + </screen> + <para> + ãã®å ´åã¯ãDSSSL ããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ãã¦ãããã©ãããããä¸åº¦ç¢ºããã¦ãã ããã + Mac ã§ Fink ã使ç¨ãã¦ããå ´åã¯ãdsssl ã®å ´æãæç¤ºçã«æå®ããªããã°ãªãã¾ããã + <command>./configure --with-dsssl=/sw/share/sgml/dsssl/docbook-dsssl-nwalsh</command> + </para> + <para> + Windows ç°å¢ã§ DSSSL ã¹ã¿ã¤ã«ã·ã¼ããåå¾ããæãç°¡åãªæ¹æ³ã¯ã + cvs.php.net ãã <literal>phpdoc</literal> ã¢ã¸ã¥ã¼ã«ããã§ãã¯ã¢ã¦ããããã¨ã§ãã + ãã®ã¢ã¸ã¥ã¼ã«ã®ä¸ã® <filename>dsssl/</filename> ãã£ã¬ã¯ããªã«ãDSSSL + ã¹ã¿ã¤ã«ã·ã¼ããããã¾ãã + </para> + + <para> ä¸è¨ã«ãããããã¥ã¢ã«å ¨ä½ã® "çã®" <acronym>HTML</acronym> ãçæããã¾ãã @@ -489,6 +504,15 @@ /usr/bin/jade -wno-idref -d html.dsl -V use-output-dir -t sgml ./phpdocxml.dcl manual.xml </userinput> </screen> + + <para> + <filename>make-partial.php</filename> ã§ + å ¨é¨ã®åãã«ãã¡ãã¨çããã®ã¯çµæ§æéããããã¾ãã + <command>make partial</command> + ã«é©åãªãã©ã¡ã¼ã¿ã渡ããã»ããããã£ã¨æ©ãã§ãããããã¨ãã° + <command>make partial INCLUDE="packages package.database"</command> + ã®ããã«ãã¾ããID ã®ä¸è¦§ã¯ãmake ã®åºåã調ã¹ãã°ãããã¾ãã + </para> </sect3> </sect2> http://cvs.php.net/viewvc.cgi/peardoc/ja/chapters/faq/documentation.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/chapters/faq/documentation.xml diff -u peardoc/ja/chapters/faq/documentation.xml:1.1 peardoc/ja/chapters/faq/documentation.xml:1.2 --- peardoc/ja/chapters/faq/documentation.xml:1.1 Sat Dec 30 11:41:05 2006 +++ peardoc/ja/chapters/faq/documentation.xml Sun Jun 24 10:21:51 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: haruki Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: haruki Status: ready --> <!-- CREDITS: takagi --> <sect1 id="faq.documentation"> <title>ããã¥ã¡ã³ã使ã翻訳ã«é¢ãã FAQ</title> @@ -23,6 +23,12 @@ <filename>en/package/</filename> ã«ãåããã±ã¼ã¸ã®ããã¥ã¡ã³ãã¸ã®ãªã³ã¯ãå«ã xml ãã¡ã¤ã«ãã«ãã´ãªãã¨ã«åå¨ãã¾ããæ°ãããã¼ã¸ã¸ã®ãªã³ã¯ãããã«è¿½å ãã¦ãã ããã </para> + + <para> + <literal>cannot generate system identifier for general entity + "package.networking.net-ldap.search"</literal> + ã®ãããªã¡ãã»ã¼ã¸ã表示ãããå ´åããåå ã¯åãã§ãã + </para> </sect2> @@ -194,4 +200,4 @@ </sect2> -</sect1> \ No newline at end of file +</sect1> http://cvs.php.net/viewvc.cgi/peardoc/ja/chapters/standards.xml?r1=1.11&r2=1.12&diff_format=u Index: peardoc/ja/chapters/standards.xml diff -u peardoc/ja/chapters/standards.xml:1.11 peardoc/ja/chapters/standards.xml:1.12 --- peardoc/ja/chapters/standards.xml:1.11 Sat Apr 14 08:20:07 2007 +++ peardoc/ja/chapters/standards.xml Sun Jun 24 10:21:51 2007 @@ -1,6 +1,6 @@ <?xml encoding="utf-8"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.52 Maintainer: haruki Status: working --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.53 Maintainer: haruki Status: working --> <!-- CREDITS: hirokawa,takagi --> <chapter id="standards"> <title>æ¨æºã³ã¼ãã£ã³ã°è¦ç´</title> @@ -75,9 +75,9 @@ å¶å¾¡ãã¼ã¯ã¼ãã¨éãã«ãã³ã®éã«ç©ºç½ã 1 ã¤ç½®ãã¾ãã </simpara> <simpara> - æ§æçã«ä»»æã®å ´åã«ããæ³¢ã«ãã³ã使ç¨ãããã¨ãæ¨å¥¨ãã¾ãã - æ³¢ã«ãã³ãä»ãããã¨ã«ããå¯èªæ§ãåä¸ããæ°ããè¡ã追å ããéã« - è«ççãªã¨ã©ã¼ãç´ãããå¯è½æ§ãæ¸å°ãã¾ãã + æ§æçã«çç¥å¯è½ãªå ´åã§ããæ³¢ã«ãã³ã使ç¨ãããã¨ãæ¨å¥¨ãã¾ãã + æ³¢ã«ãã³ãä»ãããã¨ã«ããå¯èªæ§ãåä¸ãã + æ°ããè¡ã追å ããéã«è«ççãªã¨ã©ã¼ãç´ãããå¯è½æ§ãæ¸å°ãã¾ãã </simpara> <para> switch æã®å ´åã¯æ¬¡ã®ããã«ãã¾ãã @@ -128,6 +128,24 @@ </para> </sect1> + <sect1 id="standards.classdef"> + <title>ã¯ã©ã¹å®ç¾©</title> + <para> + ã¯ã©ã¹ã®å®£è¨æã«ã¯ããã£ããæ¹è¡ããå¾ã«éå§æ³¢ã«ãã³ãã¤ããããã«ãã¾ãã + <programlisting role="php"> + <![CDATA[ +class FooBar +{ + + //... ã³ã¼ããããã«æ¸ãã¾ã + +} + ]]> + </programlisting> + </para> + </sect1> + + <sect1 id="standards.funcdef"> <title>颿°å®ç¾©</title> <para> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/networking/net-ldap/search.xml?view=markup&rev=1.1 Index: peardoc/ja/package/networking/net-ldap/search.xml +++ peardoc/ja/package/networking/net-ldap/search.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <refentry id="package.networking.net-ldap.search"> <refnamediv> <refname>æ¤ç´¢</refname> <refpurpose>ã¨ã³ããªã®æ¤ç´¢æ¹æ³</refpurpose> </refnamediv> <refsect1> <title>ã¨ã³ããªã®æ¤ç´¢</title> <para> ãµã¼ãã«æ¥ç¶ãããã<classname>Net_LDAP</classname> ã® <function>search</function> ã¡ã½ããã§ãã£ã¬ã¯ããªãæ¤ç´¢ãã¾ãããã ãã®ã¡ã½ããã®ãã©ã¡ã¼ã¿ã¯æ¬¡ã®ä¸ã¤ã§ãã <itemizedlist> <listitem> <para> <literal>$base</literal> ã¯æ¤ç´¢æã«ä½¿ç¨ãããã¼ã¹ DN ã§ãã <literal>null</literal> ã®ã¾ã¾ã«ãã¦ããã¨ã æ¥ç¶æã«æå®ããããã©ã«ãã®æ¤ç´¢ DN ã使ç¨ãã¾ãã </para> </listitem> <listitem> <para> <literal>$filter</literal> ã¯ãè¿ãããçµæãæå®ããããã®åãåãããã£ã«ã¿ã§ãã æååããããã㯠<classname>Net_LDAP_Filter</classname> ãªãã¸ã§ã¯ãã§æå®ãã¾ãããªãã¸ã§ã¯ãã§æå®ãããã¨ããå§ããã¾ãã </para> </listitem> <listitem> <para> <literal>$params</literal> ã¯ãç¾å¨ã®ã¯ã¨ãªã§ä½¿ç¨ããè¨å®é ç®ã®é åã¨ãªãã¾ãã <table> <title>è¨å®ãã©ã¡ã¼ã¿</title> <tgroup cols="3"> <thead> <row> <entry>åå</entry> <entry>説æ</entry> <entry>ããã©ã«ã</entry> </row> </thead> <tbody> <row> <entry><literal>scope</literal></entry> <entry> æ¤ç´¢ã§ä½¿ç¨ããã¹ã³ã¼ã <itemizedlist> <listitem> <para> <literal>base</literal> - åä¸ã®ã¨ã³ããªã®ã¿ </para> </listitem> <listitem> <para> <literal>sub</literal> - ãã®ããªã¼å ¨ä½ </para> </listitem> <listitem> <para> <literal>one</literal> - <literal>$base</literal> ã®ç´ä¸ã®ã¿ </para> </listitem> </itemizedlist> </entry> <entry><literal>sub</literal></entry> </row> <row> <entry><literal>sizelimit</literal></entry> <entry>çµæã¨ãã¦è¿ãã¨ã³ããªã®æå¤§æ°</entry> <entry><literal>0</literal> (ç¡å¶é)</entry> </row> <row> <entry><literal>timelimit</literal></entry> <entry>æ¤ç´¢æã®æå¤§ã®å¾ ã¡æé</entry> <entry><literal>0</literal> (ç¡å¶é)</entry> </row> <row> <entry><literal>attrsonly</literal></entry> <entry><literal>true</literal> ã®å ´åã¯å±æ§åã®ã¿ãè¿ã</entry> <entry><literal>false</literal></entry> </row> <row> <entry><literal>attributes</literal></entry> <entry> ãã®ã¨ã³ããªãå«ãã§ãã屿§åã®é åã å¿ è¦ãªå±æ§ã®ã¿ã«çµãè¾¼ããã¨ããå§ããã¾ãã </entry> <entry><literal>array()</literal> (ãã¹ã¦ã®å±æ§)</entry> </row> </tbody> </tgroup> </table> </para> </listitem> </itemizedlist> </para> <example> <title>æ¤ç´¢ã¯ã¨ãªã®ä½æ</title> <programlisting role="php"><![CDATA[ $filter = 'sn=Joe*'; $searchbase = 'ou=addressbook,dc=example,dc=org'; $options = array( 'scope' => 'sub', 'attributes' => array('sn') ); $result = $ldap->search($searchbase, $filter, $options); if (PEAR::isError($result)) { die($result->getMessage() . "\n"); } ]]></programlisting> </example> </refsect1> </refentry> <!-- 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 sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/database/mdb2-schema/usage.xml?view=markup&rev=1.1 Index: peardoc/ja/package/database/mdb2-schema/usage.xml +++ peardoc/ja/package/database/mdb2-schema/usage.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <refentry id="package.database.mdb2-schema.usage"> <refnamediv> <refname>ã¤ã³ã¹ãã¼ã«ããã³ä½¿ç¨ä¾</refname> <refpurpose>MDB2_Schema ã®ã¤ã³ã¹ãã¼ã«ããã³ä½¿ç¨ä¾</refpurpose> </refnamediv> <refsect1 id="package.database.mdb2-schema.usage.installation"> <title>ã¤ã³ã¹ãã¼ã«</title> <para> ã¾ã㯠MDB2 ãã¤ã³ã¹ãã¼ã«ããªããã°ãªãã¾ããã </para> <programlisting> <![CDATA[$ pear install --alldeps MDB2]]> </programlisting> <para> 次ã«ã使ç¨ãããã¼ã¿ãã¼ã¹ç¨ã®ãã©ã¤ããã¤ã³ã¹ãã¼ã«ããªããã°ãªãã¾ããã ãã¨ãã°ãMySQL ã使ç¨ããã®ãªã次ã®ããã«ãªãã¾ãã </para> <programlisting> <![CDATA[$ pear install MDB2_Driver_Mysql]]> </programlisting> <para> 詳細ãªèª¬æã¯ MDB2 ã®ããã¥ã¡ã³ããåç §ãã ããã ãããã¯ãUnix ç³»ã®ã·ã¹ãã ããå©ç¨ã®å ´åã¯æ¬¡ã®ã³ãã³ãã§ã説æãè¦ããã¾ãã </para> <programlisting> <![CDATA[$ pear remote-list | grep MDB2]]> </programlisting> <para> MDB2_Schema 㯠MDB2 ã¨ã¯ç¬ç«ããããã±ã¼ã¸ã§ããã åãããã« PEAR ã¤ã³ã¹ãã¼ã©ã§ã¤ã³ã¹ãã¼ã«ãã¾ãã </para> <programlisting> <![CDATA[$ pear install --alldeps MDB2_Schema-beta]]> </programlisting> <para> ããã§æºåå®äºã§ã (^o^) </para> </refsect1> <refsect1 id="package.database.mdb2-schema.usage.usage"> <title>使ç¨ä¾</title> <para> MDB2_Schema ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã使ããã«ã¯ <methodname>factory()</methodname> ã使ç¨ãã¾ãã ãã®ã¡ã½ããã«ã¯ <varname>$dsn</varname> ãé åãæå®ãã¾ãã ã¾ããæ¢åã® MDB2 ãªãã¸ã§ã¯ããæå®ãããã¨ãã§ãã¾ãã 以ä¸ã®ä¾ã§ã¯ãåã« <varname>$dsn</varname> ãæå®ãã¦ãã¾ãã </para> <programlisting role="php"> <![CDATA[ <?php require_once 'MDB2/Schema.php'; $options = array( 'log_line_break' => '<br>', 'idxname_format' => '%s', 'debug' => true, 'quote_identifier' => true, 'force_defaults' => false, 'portability' => false ); $dsn = 'mysql://root:@localhost/DBname'; $schema =& MDB2_Schema::factory($dsn, $options); if (PEAR::isError($schema)) { $error = $schema->getMessage(); } $schema->disconnect(); ?> ]]> </programlisting> </refsect1> </refentry> <!-- 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 sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/database/mdb2-schema/intro.xml?view=markup&rev=1.1 Index: peardoc/ja/package/database/mdb2-schema/intro.xml +++ peardoc/ja/package/database/mdb2-schema/intro.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <refentry id="package.database.mdb2-schema.intro"> <refnamediv> <refname>å°å ¥</refname> <refpurpose>MDB2_Schema ã®ä½¿ãæ¹</refpurpose> </refnamediv> <refsect1 id="package.database.mdb2-schema.intro.refsect1"> <title>MDB2_Schema ã®ä½¿ãæ¹</title> <para> MDB2_Schema 㯠MDB2 ä¸ã§åä½ãããã¼ã«ã§ã ãã¼ã¿ãã¼ã¹ã®ã¹ãã¼ãã XML å½¢å¼ã§ç®¡çãããã¨ãã§ãã¾ãã ãã® XML ã¯ããã©ãããã©ã¼ã ããã¼ã¿ãã¼ã¹ã«ä¾åããªãå½¢å¼ã¨ãªãã¾ãã </para> <para> XML ã®æ¸å¼ã¯ Metabase ããã±ã¼ã¸ããã¨ã«ãã¦ããã ããã«æãå ãããã¨ã§ Data Manipulation Instruction ãå¤é¨ãã¼ã¨ãã£ãæ°ããã¨ã³ãã£ãã£ããµãã¼ããã¦ãã¾ãã </para> <para> ãã®ããã±ã¼ã¸ã使ç¨ããã¨ãRDBMS ã«ä¾åããªã XML å½¢å¼ã§ã¹ãã¼ããã¡ã¤ã«ã管çã§ããããã«ãªãã ãã®ãã¡ã¤ã«ãç¨ãã¦ãã¼ã¿ãã¼ã¹ã¨ã³ãã£ãã£ã®ä½æã夿´ããã¦åé¤ (DDL: ãã¼ã¿å®ç¾©è¨èª) ãè¡ã£ãããã¼ã¿ãã¼ã¹ã¸ã®ãã¼ã¿ã®æå ¥ (DML: ãã¼ã¿æä½è¨èª) ãè¡ã£ããã§ããããã«ãªãã¾ãã æ¢åã®ãã¼ã¿ãã¼ã¹ããã®ãã¼ã¿ãã¼ã¹ã¹ãã¼ãã®ãªãã¼ã¹ã¨ã³ã¸ãã¢ãªã³ã°ããµãã¼ããã¦ãã¾ãã ã¾ãããã¼ã¿ãã¼ã¹ã®ã¹ãã¼ããè§£æã㦠ãã¼ã¿ãã¼ã¹ã®ãã¼ã¿ãè¤æ°ãã¡ã¤ã«ã«åå²ããæ©è½ãããã¾ãã ãã®ããã¥ã¡ã³ãã§ã¯ã"ã¹ãã¼ããã¡ã¤ã«" ã¨ã¯ MDB2_Schema ãã¡ã¤ã«ããµãã¼ãããå½¢å¼ã® XML ãæããã®ã¨ãã¾ãã </para> <para> XML ãã¡ã¤ã«ã®èªã¿è¾¼ã¿ã¯ MDB2_Schema_Parser ãè¡ãã XML ãã¡ã¤ã«ã¸ã®æ¸ãè¾¼ã¿ã¯ MDB2_Schema_Writer ãæ å½ãã¾ãã ããã«ãXML ãã¡ã¤ã«ããã¼ã¹ããå¾ã«ã¯ MDB2_Schema_Validate ã¯ã©ã¹ãã³ã¼ã«ããã¾ããããã¯ãã¹ãã¼ããã¡ã¤ã«ã®è«ççãªæ´åæ§ã調ã¹ã¾ãã ãã¨ãã°ãåå¨ããªããã£ã¼ã«ããã¤ã³ããã¯ã¹ã¨ãã¦æå®ãã¦ããã æ¥ä»åã®ãã£ã¼ã«ãã«æµ®åå°æ°ç¹å¤ãä¿åãããã¨ãã¦ãããã¨ãã£ããã¨ããªããã©ããã調ã¹ã¾ãã </para> <para> ç¾æç¹ã§ã¯äºç¨®é¡ã®ãã¼ãµã使ç¨å¯è½ã§ãã XML_Parser ã使ç¨ãããã® (ããã©ã«ã) 㨠XML_Unserializer ã使ç¨ãããã®ãããã¾ãã MDB2_Schema ã¯ã¾ã ãã¼ã¿æ®µéã§ããã ã©ã¡ãã®ãã¼ãµã«ãå¶éäºé ãããã¾ãã ããã©ã«ãã®ã»ãã§ã¯ããã¹ããäºæ®µéã¾ã§ããæ±ãã¾ããã ããã²ã¨ã¤ã®ã»ãã§ã¯ãXML ãã¡ã¤ã«ä¸ã® DML ã®æç¤ºãåæ ããããã¨ãã§ãã¾ããã </para> <para> MDB2_Schema API ã¯å®éã®ãã¼ã¿ãã¼ã¹ããã³ XML ãã¡ã¤ã«ã®äºç¨®é¡ã®å ¥åããµãã¼ããã¦ãã¾ããã å é¨çã«ã¯ã©ã¡ããé åã§ç®¡çãã¦ãã¾ãã ãã®é åã«ã¤ãã¦ã¯ãå¾ã§è©³ãã説æãã¾ãã </para> </refsect1> </refentry> <!-- 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 sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/database/mdb2-schema.xml?view=markup&rev=1.1 Index: peardoc/ja/package/database/mdb2-schema.xml +++ peardoc/ja/package/database/mdb2-schema.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <sect1 id="package.database.mdb2-schema"> <title>MDB2_Schema</title> <para> PEAR::MDB2_Schema ã使ç¨ããã¨ãRDBMS ã«ä¾åããªãå½¢å¼ã® XML ã§ã¹ãã¼ããã¡ã¤ã«ã使ãããã¨ãã§ãã¾ãã ãã®ãã¡ã¤ã«ã使ç¨ããã¨ããã¼ã¿ãã¼ã¹ã¨ã³ãã£ãã£ã®ä½æã夿´ãåé¤ ããã¦ãã¼ã¿ãã¼ã¹ã¸ã®ãã¼ã¿ã®æå ¥ãã§ããããã«ãªãã¾ãã æ¢åã®ãã¼ã¿ãã¼ã¹ããã®ãªãã¼ã¹ã¨ã³ã¸ãã¢ãªã³ã°ããµãã¼ããã¦ãã¾ãã PEAR::MDB ããã³ Metabase ã®ã©ã¡ãã§ã使ç¨ã§ããæ¸å¼ã¨ãªãã¾ãã </para> &package.database.mdb2-schema.intro; &package.database.mdb2-schema.usage; </sect1> <!-- 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 sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/authentication/auth/intro-options.xml?view=markup&rev=1.1 Index: peardoc/ja/package/authentication/auth/intro-options.xml +++ peardoc/ja/package/authentication/auth/intro-options.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.authentication.auth.intro-options"> <refnamediv> <refname>Auth ã®ãªãã·ã§ã³</refname> <refpurpose>Auth ã®æåãå¶å¾¡ãããªãã·ã§ã³</refpurpose> </refnamediv> <refsect1 id="package.authentication.auth.intro-options.overview"> <title>Auth ã®ãªãã·ã§ã³</title> <para> åã³ã³ããã¼ã©ã®ãªãã·ã§ã³ã«å ãã¦ã Auth ãã®ãã®ã®æåã夿´ããããã®ãªãã·ã§ã³ãç¨æããã¦ãã¾ãã </para> <para> <table> <title>å©ç¨å¯è½ãªãªãã·ã§ã³</title> <tgroup cols="4"> <thead> <row> <entry>ãªãã·ã§ã³</entry> <entry>ãã¼ã¿å</entry> <entry>ããã©ã«ãå¤</entry> <entry>説æ</entry> </row> </thead> <tbody> <row> <entry> <quote>sessionName</quote> </entry> <entry> &type.string; </entry> <entry> <quote>_authsession</quote> </entry> <entry> ãã® Auth ã»ãã·ã§ã³ãèå¥ããããã®ååã <link linkend="package.authentication.auth.auth.setsessionname"> <classname>Auth</classname>::<function>setSessionName</function> </link> ãåç §ãã ããã </entry> </row> <row> <entry> <quote>allowLogin</quote> </entry> <entry> &type.bool; </entry> <entry> &true; </entry> <entry> ãã®ãã¼ã¸ã§ã®ãã°ã¤ã³ã許å¯ãããã©ããã <link linkend="package.authentication.auth.auth.setallowlogin"> <classname>Auth</classname>::<function>setAllowLogin</function> </link> ãåç §ãã ããã </entry> </row> <row> <entry> <quote>postUsername</quote> </entry> <entry> &type.string; </entry> <entry> <quote>username</quote> </entry> <entry> èªè¨¼ç¨ã®ã¦ã¼ã¶åãå«ããã£ã¼ã«ãã®ã®ååã </entry> </row> <row> <entry> <quote>postPassword</quote> </entry> <entry> &type.string; </entry> <entry> <quote>password</quote> </entry> <entry> èªè¨¼ç¨ã®ãã¹ã¯ã¼ããå«ããã£ã¼ã«ãã®ååã </entry> </row> <row> <entry> <quote>advancedsecurity</quote> </entry> <entry> &type.bool; </entry> <entry> &false; </entry> <entry> é«åº¦ãªã»ãã¥ãªãã£æ©è½ãæå¹ã«ãããã©ããã <link linkend="package.authentication.auth.auth.setadvancedsecurity"> <classname>Auth</classname>::<function>setAdvancedSecurity</function> </link> ãåç §ãã ããã </entry> </row> <row> <entry> <quote>enableLogging</quote> </entry> <entry> &type.bool; </entry> <entry> &false; </entry> <entry> å é¨ã®ãã°åºåæ©è½ãæå¹ã«ãããã©ããã <link linkend="package.authentication.auth.intro-logging"> ãã°è¨é²ã®ãµã³ãã« </link> ããã³ <link linkend="package.authentication.auth.auth.attachlogobserver"> <classname>Auth</classname>::<function>attachLogObserver</function> </link> ãåç §ãã ããã </entry> </row> <row> <entry> <quote>regenerateSessionId</quote> </entry> <entry> &type.bool; </entry> <entry> &false; </entry> <entry> &true; ã«ããã¨ããã¼ã¸ãèªã¿è¾¼ããã³ã«ã»ãã·ã§ã³ ID ãåçæãã¾ãã &false; ã®ã¾ã¾ã«ãã¦ããã¨ãæåã«ãã°ã¤ã³ããéã«ã®ã¿åçæãã¾ãã </entry> </row> </tbody> </tgroup> </table> </para> </refsect1> </refentry> <!-- 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 sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->