cvs: peardoc /ja/package/database/db/db-common getone.xml /ja/package/networking/net-pop3 login.xml /ja/package/xml/xml-rss example.xml
| From: | TAKAGI Masahiro | Date: | Sun, 29 Apr 2007 09:53:35 +0000 |
| Subject: | cvs: peardoc /ja/package/database/db/db-common getone.xml /ja/package/networking/net-pop3 login.xml /ja/package/xml/xml-rss example.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-9691@lists.php.net to get a copy of this message | ||
takagi Sun Apr 29 09:53:35 2007 UTC
Added files:
/peardoc/ja/package/networking/net-pop3 login.xml
Modified files:
/peardoc/ja/package/xml/xml-rss example.xml
/peardoc/ja/package/database/db/db-common getone.xml
Log:
sync with en.
http://cvs.php.net/viewvc.cgi/peardoc/ja/package/xml/xml-rss/example.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/xml/xml-rss/example.xml diff -u peardoc/ja/package/xml/xml-rss/example.xml:1.2 peardoc/ja/package/xml/xml-rss/example.xml:1.3 --- peardoc/ja/package/xml/xml-rss/example.xml:1.2 Tue Feb 24 16:29:21 2004 +++ peardoc/ja/package/xml/xml-rss/example.xml Sun Apr 29 09:53:35 2007 @@ -1,5 +1,5 @@ -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-rss.example"> <refnamediv> <refname>ä¾</refname> @@ -17,7 +17,7 @@ <![CDATA[ require_once "XML/RSS.php"; -$rss =& new XML_RSS("http://slashdot.org/slashdot.rdf"); +$rss =& new XML_RSS("http://rss.slashdot.org/Slashdot/slashdot"); $rss->parse(); echo "<h1>Headlines from <a href=\"http://slashdot.org\">Slashdot</a></h1>\n"; http://cvs.php.net/viewvc.cgi/peardoc/ja/package/database/db/db-common/getone.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/database/db/db-common/getone.xml diff -u peardoc/ja/package/database/db/db-common/getone.xml:1.1 peardoc/ja/package/database/db/db-common/getone.xml:1.2 --- peardoc/ja/package/database/db/db-common/getone.xml:1.1 Sat Feb 11 15:12:38 2006 +++ peardoc/ja/package/database/db/db-common/getone.xml Sun Apr 29 09:53:35 2007 @@ -1,267 +1,267 @@ -<?xml version="1.0" encoding="utf-8" ?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.29 Maintainer: takagi Status: ready --> - -<refentry id="package.database.db.db-common.getone"> - <refnamediv> - <refname>DB_common::getOne()</refname> - <refpurpose>ã¯ã¨ãªãå®è¡ããæåã®è¡ã®æåã®ã«ã©ã ãè¿ã</refpurpose> - </refnamediv> - - <refsynopsisdiv> - <funcsynopsis> - <funcprototype> - <funcdef>mixed <function>&getOne</function></funcdef> - <paramdef> - string <parameter>$query</parameter> - </paramdef> - <paramdef> - mixed <parameter><optional>$params = array()</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> - - <refsect1 id="package.database.db.db-common.getone.desc"> - &title.desc; - <para> - æå®ããã¯ã¨ãªãå®è¡ããçµæã®æåã®è¡ã»æåã®ã«ã©ã ã®ãã¼ã¿ãè¿ãããã¨ã§ - çµæã»ãããéæ¾ãã¾ãã - </para> - </refsect1> - - <refsect1 id="package.database.db.db-common.getone.parameter"> - &title.param; - <para> - <variablelist> - <varlistentry> - <term> - &type.string; - <parameter>$query</parameter> - </term> - <listitem> - <para> - SQL ã¯ã¨ãªãããã¯ããªãã¢ãã¹ãã¼ãã¡ã³ãã - </para> - </listitem> - </varlistentry> - <varlistentry> - <term> - &type.mixed; - <parameter>$params</parameter> - </term> - <listitem> - <para> - ããªãã¢ãã¹ãã¼ãã¡ã³ãã«è¿½å ããããé åã»æååãããã¯æ°å¤ã®ãã¼ã¿ã - é åã®è¦ç´ æ°ã¯ãã¯ã¨ãªå ã®ãã¬ã¼ã¹ãã«ãã®æ°ã¨åãã§ãªããã°ãªãã¾ããã - é å以å¤ãæå®ããå ´åã¯ãã¬ã¼ã¹ãã«ããã²ã¨ã¤ã§ãããã¨ãæå³ãã - é åãæå®ããå ´åã¯é åã®åã ã®è¦ç´ ãããããã®ãã©ã¡ã¼ã¿ã«å¯¾å¿ãã¾ãã - </para> - <para> - æå®ãããå ´åã¯ã - <link linkend="package.database.db.intro-execute"> - <function>prepare</function>/ - <function>execute</function></link> ã使ç¨ããã¾ãã - </para> - </listitem> - </varlistentry> - </variablelist> - </para> - </refsect1> - - <refsect1 id="package.database.db.db-common.getone.return"> - &title.returns; - <para> - &type.mixed; - æåã®ã«ã©ã ã®ãã¼ã¿ããããã¯å¤±æããå ´åã« - &class.db-error; ãªãã¸ã§ã¯ããè¿ãã¾ãã - </para> - </refsect1> - - <refsect1 id="package.database.db.db-common.getone.throws"> - &title.throws; - <para> - <table> - <title>&title.throws.errortable;</title> - <tgroup cols="4"> - <thead> - <row> - <entry>ã¨ã©ã¼ã³ã¼ã</entry> - <entry>ã¨ã©ã¼ã¡ãã»ã¼ã¸</entry> - <entry>åå </entry> - <entry>å¯¾å¿æ³</entry> - </row> - </thead> - <tbody> - <row> - <entry><constant>DB_ERROR_INVALID</constant></entry> - <entry> - invalid - </entry> - <entry> - æºåããã SQL æãç¡å¹ã§ãã - </entry> - <entry> - ãã¬ã¼ã¹ãã«ãã使ç¨ãã SQL æãç¨ããå ´å㯠- <link linkend="package.database.db.db-common.prepare"> - <function>prepare</function> ã®ããã¥ã¡ã³ã</link> - ãåç §ãã ããã - </entry> - </row> - <row> - <entry><constant>DB_ERROR_MISMATCH</constant></entry> - <entry> - mismatch - </entry> - <entry> - ãã©ã¡ã¼ã¿ã®æ°ããããªãã¢ãã¹ãã¼ãã¡ã³ãä¸ã® - ãã¬ã¼ã¹ãã«ãã®æ°ã¨ä¸è´ãã¾ããã - </entry> - <entry> - <parameter>$query</parameter> ã«æ¸¡ãã - <link linkend="package.database.db.db-common.prepare"> - <function>prepare</function></link> æ¸ã¿ã®æä¸ã® - ãã¬ã¼ã¹ãã«ãã®æ°ãã<parameter>$params</parameter> - ã§æ¸¡ããé ç®ã®æ°ã¨ä¸è´ãããã©ããã調ã¹ã¾ãã - </entry> - </row> - <row> - <entry><constant>DB_ERROR_NODBSELECTED</constant></entry> - <entry> - no database selected - </entry> - <entry> - ãã¼ã¿ãã¼ã¹ã鏿ããã¦ãã¾ããã - </entry> - <entry> - <link linkend="package.database.db.db.connect"> - <function>connect</function></link> ã®éã® - <link linkend="package.database.db.intro-dsn">DSN</link> - ã調ã¹ã¾ãã - </entry> - </row> - <row> - <entry>ãã®ä»ã®ã¨ã©ã¼ã³ã¼ã</entry> - <entry></entry> - <entry> - ãã¼ã¿ãã¼ã¹åºæã®ã¨ã©ã¼ã - </entry> - <entry> - <ulink url="&url.php.manual;">PHP ããã¥ã¢ã«</ulink> - ã®ãã¼ã¿ãã¼ã¹é¢é£ã®é¨åã調ã¹ãã¨ã©ã¼ã®åå ã夿ãã¦ãã ããã - ããã¦ãã®å ´å㯠SQL æãééã£ã¦ãããã¨ãåå ã§ããä¾ãã° - Oracle ãã¼ã¿ãã¼ã¹ã«å¯¾ã㦠SQL ã§ LIMIT ã使ç¨ãã¦ãããªã©ã - èãããã¾ãã - </entry> - </row> - </tbody> - </tgroup> - </table> - </para> - </refsect1> - - <refsect1 id="package.database.db.db-common.getone.note"> - &title.note; - ¬e.notstatic; - </refsect1> - - <refsect1 id="package.database.db.db-common.getOne.example"> - &title.example; - <example> - <title><function>getOne</function> ã®ä½¿ç¨æ³</title> - <programlisting role="php"> - <![CDATA[ -<?php -// $db ã¨ããååã® DB ãªãã¸ã§ã¯ããåå¾ãã¦ããã¨ãã¾ã... -$data =& $db->getOne('SELECT cf FROM foo'); - -if (PEAR::isError($data)) { - die($data->getMessage()); -} - -echo "$data\n"; -?> - ]]> - </programlisting> - </example> - - <example> - <title> - ãã¬ã¼ã¹ãã«ããã²ã¨ã¤ã®å ´åã® <function>getOne</function> ã®ä½¿ç¨æ³ - </title> - <programlisting role="php"> - <![CDATA[ -<?php -// $db ã¨ããååã® DB ãªãã¸ã§ã¯ããåå¾ãã¦ããã¨ãã¾ã... -$data =& $db->getOne('SELECT cf FROM foo WHERE nf = ?', - 5); - -if (PEAR::isError($data)) { - die($data->getMessage()); -} - -echo "$data\n"; -?> - ]]> - </programlisting> - </example> - - <example> - <title> - ãã¬ã¼ã¹ãã«ãããµãã¤ã®å ´åã® <function>getOne</function> ã®ä½¿ç¨æ³ - </title> - <programlisting role="php"> - <![CDATA[ -<?php -// $db ã¨ããååã® DB ãªãã¸ã§ã¯ããåå¾ãã¦ããã¨ãã¾ã... -$data =& $db->getOne('SELECT cf FROM foo WHERE nf IN (?, ?)', - array(5, 10)); - -if (PEAR::isError($data)) { - die($data->getMessage()); -} - -echo "$data\n"; -?> - ]]> - </programlisting> - </example> - </refsect1> - - <refsect1 id="package.database.db.db-common.getone.see"> - &title.see; - <para> - <link linkend="package.database.db.db-common.getrow"> - <function>getRow</function></link>ã - <link linkend="package.database.db.db-common.getcol"> - <function>getCol</function></link>ã - <link linkend="package.database.db.db-common.getassoc"> - <function>getAssoc</function></link>ã - <link linkend="package.database.db.db-common.getall"> - <function>getAll</function></link>ã - <link linkend="package.database.db.db-common.query"> - <function>query</function></link>ã - <link linkend="package.database.db.intro-execute"> - <quote>å°å ¥ - æºåã¨å®è¡</quote></link> - </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-executeMultiple-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 ---> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.31 Maintainer: takagi Status: ready --> + +<refentry id="package.database.db.db-common.getone"> + <refnamediv> + <refname>DB_common::getOne()</refname> + <refpurpose>ã¯ã¨ãªãå®è¡ããæåã®è¡ã®æåã®ã«ã©ã ãè¿ã</refpurpose> + </refnamediv> + + <refsynopsisdiv> + <funcsynopsis> + <funcprototype> + <funcdef>mixed <function>&getOne</function></funcdef> + <paramdef> + string <parameter>$query</parameter> + </paramdef> + <paramdef> + mixed <parameter><optional>$params = array()</optional></parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> + + <refsect1 id="package.database.db.db-common.getone.desc"> + &title.desc; + <para> + æå®ããã¯ã¨ãªãå®è¡ããçµæã®æåã®è¡ã»æåã®ã«ã©ã ã®ãã¼ã¿ãè¿ãããã¨ã§ + çµæã»ãããéæ¾ãã¾ãã + </para> + </refsect1> + + <refsect1 id="package.database.db.db-common.getone.parameter"> + &title.param; + <para> + <variablelist> + <varlistentry> + <term> + &type.string; + <parameter>$query</parameter> + </term> + <listitem> + <para> + SQL ã¯ã¨ãªãããã¯ããªãã¢ãã¹ãã¼ãã¡ã³ãã + </para> + </listitem> + </varlistentry> + <varlistentry> + <term> + &type.mixed; + <parameter>$params</parameter> + </term> + <listitem> + <para> + ããªãã¢ãã¹ãã¼ãã¡ã³ãã«è¿½å ããããé åã»æååãããã¯æ°å¤ã®ãã¼ã¿ã + é åã®è¦ç´ æ°ã¯ãã¯ã¨ãªå ã®ãã¬ã¼ã¹ãã«ãã®æ°ã¨åãã§ãªããã°ãªãã¾ããã + é å以å¤ãæå®ããå ´åã¯ãã¬ã¼ã¹ãã«ããã²ã¨ã¤ã§ãããã¨ãæå³ãã + é åãæå®ããå ´åã¯é åã®åã ã®è¦ç´ ãããããã®ãã©ã¡ã¼ã¿ã«å¯¾å¿ãã¾ãã + </para> + <para> + æå®ãããå ´åã¯ã + <link linkend="package.database.db.intro-execute"> + <function>prepare</function>/ + <function>execute</function></link> ã使ç¨ããã¾ãã + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 id="package.database.db.db-common.getone.return"> + &title.returns; + <para> + &type.mixed; - æåã®ã«ã©ã ã®ãã¼ã¿ (ãã¼ã¿ããªãå ´å㯠&null;)ããããã¯å¤±æããå ´åã« + &class.db-error; ãªãã¸ã§ã¯ããè¿ãã¾ãã + </para> + </refsect1> + + <refsect1 id="package.database.db.db-common.getone.throws"> + &title.throws; + <para> + <table> + <title>&title.throws.errortable;</title> + <tgroup cols="4"> + <thead> + <row> + <entry>ã¨ã©ã¼ã³ã¼ã</entry> + <entry>ã¨ã©ã¼ã¡ãã»ã¼ã¸</entry> + <entry>åå </entry> + <entry>å¯¾å¿æ³</entry> + </row> + </thead> + <tbody> + <row> + <entry><constant>DB_ERROR_INVALID</constant></entry> + <entry> + invalid + </entry> + <entry> + æºåããã SQL æãç¡å¹ã§ãã + </entry> + <entry> + ãã¬ã¼ã¹ãã«ãã使ç¨ãã SQL æãç¨ããå ´å㯠+ <link linkend="package.database.db.db-common.prepare"> + <function>prepare</function> ã®ããã¥ã¡ã³ã</link> + ãåç §ãã ããã + </entry> + </row> + <row> + <entry><constant>DB_ERROR_MISMATCH</constant></entry> + <entry> + mismatch + </entry> + <entry> + ãã©ã¡ã¼ã¿ã®æ°ããããªãã¢ãã¹ãã¼ãã¡ã³ãä¸ã® + ãã¬ã¼ã¹ãã«ãã®æ°ã¨ä¸è´ãã¾ããã + </entry> + <entry> + <parameter>$query</parameter> ã«æ¸¡ãã + <link linkend="package.database.db.db-common.prepare"> + <function>prepare</function></link> æ¸ã¿ã®æä¸ã® + ãã¬ã¼ã¹ãã«ãã®æ°ãã<parameter>$params</parameter> + ã§æ¸¡ããé ç®ã®æ°ã¨ä¸è´ãããã©ããã調ã¹ã¾ãã + </entry> + </row> + <row> + <entry><constant>DB_ERROR_NODBSELECTED</constant></entry> + <entry> + no database selected + </entry> + <entry> + ãã¼ã¿ãã¼ã¹ã鏿ããã¦ãã¾ããã + </entry> + <entry> + <link linkend="package.database.db.db.connect"> + <function>connect</function></link> ã®éã® + <link linkend="package.database.db.intro-dsn">DSN</link> + ã調ã¹ã¾ãã + </entry> + </row> + <row> + <entry>ãã®ä»ã®ã¨ã©ã¼ã³ã¼ã</entry> + <entry></entry> + <entry> + ãã¼ã¿ãã¼ã¹åºæã®ã¨ã©ã¼ã + </entry> + <entry> + <ulink url="&url.php.manual;">PHP ããã¥ã¢ã«</ulink> + ã®ãã¼ã¿ãã¼ã¹é¢é£ã®é¨åã調ã¹ãã¨ã©ã¼ã®åå ã夿ãã¦ãã ããã + ããã¦ãã®å ´å㯠SQL æãééã£ã¦ãããã¨ãåå ã§ããä¾ãã° + Oracle ãã¼ã¿ãã¼ã¹ã«å¯¾ã㦠SQL ã§ LIMIT ã使ç¨ãã¦ãããªã©ã + èãããã¾ãã + </entry> + </row> + </tbody> + </tgroup> + </table> + </para> + </refsect1> + + <refsect1 id="package.database.db.db-common.getone.note"> + &title.note; + ¬e.notstatic; + </refsect1> + + <refsect1 id="package.database.db.db-common.getOne.example"> + &title.example; + <example> + <title><function>getOne</function> ã®ä½¿ç¨æ³</title> + <programlisting role="php"> + <![CDATA[ +<?php +// $db ã¨ããååã® DB ãªãã¸ã§ã¯ããåå¾ãã¦ããã¨ãã¾ã... +$data =& $db->getOne('SELECT cf FROM foo'); + +if (PEAR::isError($data)) { + die($data->getMessage()); +} + +echo "$data\n"; +?> + ]]> + </programlisting> + </example> + + <example> + <title> + ãã¬ã¼ã¹ãã«ããã²ã¨ã¤ã®å ´åã® <function>getOne</function> ã®ä½¿ç¨æ³ + </title> + <programlisting role="php"> + <![CDATA[ +<?php +// $db ã¨ããååã® DB ãªãã¸ã§ã¯ããåå¾ãã¦ããã¨ãã¾ã... +$data =& $db->getOne('SELECT cf FROM foo WHERE nf = ?', + 5); + +if (PEAR::isError($data)) { + die($data->getMessage()); +} + +echo "$data\n"; +?> + ]]> + </programlisting> + </example> + + <example> + <title> + ãã¬ã¼ã¹ãã«ãããµãã¤ã®å ´åã® <function>getOne</function> ã®ä½¿ç¨æ³ + </title> + <programlisting role="php"> + <![CDATA[ +<?php +// $db ã¨ããååã® DB ãªãã¸ã§ã¯ããåå¾ãã¦ããã¨ãã¾ã... +$data =& $db->getOne('SELECT cf FROM foo WHERE nf IN (?, ?)', + array(5, 10)); + +if (PEAR::isError($data)) { + die($data->getMessage()); +} + +echo "$data\n"; +?> + ]]> + </programlisting> + </example> + </refsect1> + + <refsect1 id="package.database.db.db-common.getone.see"> + &title.see; + <para> + <link linkend="package.database.db.db-common.getrow"> + <function>getRow</function></link>ã + <link linkend="package.database.db.db-common.getcol"> + <function>getCol</function></link>ã + <link linkend="package.database.db.db-common.getassoc"> + <function>getAssoc</function></link>ã + <link linkend="package.database.db.db-common.getall"> + <function>getAll</function></link>ã + <link linkend="package.database.db.db-common.query"> + <function>query</function></link>ã + <link linkend="package.database.db.intro-execute"> + <quote>å°å ¥ - æºåã¨å®è¡</quote></link> + </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-executeMultiple-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/networking/net-pop3/login.xml?view=markup&rev=1.1 Index: peardoc/ja/package/networking/net-pop3/login.xml +++ peardoc/ja/package/networking/net-pop3/login.xml <?xml version="1.0" encoding="utf-8" ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.networking.net-pop3.login"> <refnamediv> <refname>Net_POP3::login()</refname> <refpurpose>ãã°ã¤ã³æç¶ããè¡ã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Net/POP3.php'; </funcsynopsisinfo> <funcprototype> <funcdef>boolean <function>Net_POP3::login</function></funcdef> <paramdef> string <parameter>$user</parameter> string <parameter>$pass</parameter> boolean <parameter>$apop</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.networking.net-pop3.login.desc"> &title.desc; <para> ãã°ã¤ã³æç¶ããå®è¡ãã¾ããã¿ã¤ã ã¹ã¿ã³ããä¿åããã¦ããå ´åã¯ã¾ã APOP ã試ã¿ãããããåºæ¬ç㪠USER/PASS ã«ãããã°ã¤ã³ã試ã¿ã¾ãã </para> </refsect1> <refsect1 id="package.networking.net-pop3.login.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $user</parameter> - 使ç¨ããã¦ã¼ã¶åã </para> </listitem> </itemizedlist> <itemizedlist> <listitem> <para> <parameter>string $pass</parameter> - 使ç¨ãããã¹ã¯ã¼ãã </para> </listitem> </itemizedlist> <itemizedlist> <listitem> <para> <parameter>boolean $apop</parameter> - APOP ã試ã¿ããã©ããã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.networking.net-pop3.login.return"> &title.returns; <para> &return.success-pearerror; </para> </refsect1> <refsect1 id="package.networking.net-pop3.login.note"> &title.note; ¬e.notstatic; </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/xml/xml-rss/example.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/xml/xml-rss/example.xml diff -u peardoc/ja/package/xml/xml-rss/example.xml:1.2 peardoc/ja/package/xml/xml-rss/example.xml:1.3 --- peardoc/ja/package/xml/xml-rss/example.xml:1.2 Tue Feb 24 16:29:21 2004 +++ peardoc/ja/package/xml/xml-rss/example.xml Sun Apr 29 09:53:35 2007 @@ -1,5 +1,5 @@ -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-rss.example"> <refnamediv> <refname>ä¾</refname> @@ -17,7 +17,7 @@ <![CDATA[ require_once "XML/RSS.php"; -$rss =& new XML_RSS("http://slashdot.org/slashdot.rdf"); +$rss =& new XML_RSS("http://rss.slashdot.org/Slashdot/slashdot"); $rss->parse(); echo "<h1>Headlines from <a href=\"http://slashdot.org\">Slashdot</a></h1>\n"; http://cvs.php.net/viewvc.cgi/peardoc/ja/package/database/db/db-common/getone.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/database/db/db-common/getone.xml diff -u peardoc/ja/package/database/db/db-common/getone.xml:1.1 peardoc/ja/package/database/db/db-common/getone.xml:1.2 --- peardoc/ja/package/database/db/db-common/getone.xml:1.1 Sat Feb 11 15:12:38 2006 +++ peardoc/ja/package/database/db/db-common/getone.xml Sun Apr 29 09:53:35 2007 @@ -1,267 +1,267 @@ -<?xml version="1.0" encoding="utf-8" ?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.29 Maintainer: takagi Status: ready --> - -<refentry id="package.database.db.db-common.getone"> - <refnamediv> - <refname>DB_common::getOne()</refname> - <refpurpose>ã¯ã¨ãªãå®è¡ããæåã®è¡ã®æåã®ã«ã©ã ãè¿ã</refpurpose> - </refnamediv> - - <refsynopsisdiv> - <funcsynopsis> - <funcprototype> - <funcdef>mixed <function>&getOne</function></funcdef> - <paramdef> - string <parameter>$query</parameter> - </paramdef> - <paramdef> - mixed <parameter><optional>$params = array()</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> - - <refsect1 id="package.database.db.db-common.getone.desc"> - &title.desc; - <para> - æå®ããã¯ã¨ãªãå®è¡ããçµæã®æåã®è¡ã»æåã®ã«ã©ã ã®ãã¼ã¿ãè¿ãããã¨ã§ - çµæã»ãããéæ¾ãã¾ãã - </para> - </refsect1> - - <refsect1 id="package.database.db.db-common.getone.parameter"> - &title.param; - <para> - <variablelist> - <varlistentry> - <term> - &type.string; - <parameter>$query</parameter> - </term> - <listitem> - <para> - SQL ã¯ã¨ãªãããã¯ããªãã¢ãã¹ãã¼ãã¡ã³ãã - </para> - </listitem> - </varlistentry> - <varlistentry> - <term> - &type.mixed; - <parameter>$params</parameter> - </term> - <listitem> - <para> - ããªãã¢ãã¹ãã¼ãã¡ã³ãã«è¿½å ããããé åã»æååãããã¯æ°å¤ã®ãã¼ã¿ã - é åã®è¦ç´ æ°ã¯ãã¯ã¨ãªå ã®ãã¬ã¼ã¹ãã«ãã®æ°ã¨åãã§ãªããã°ãªãã¾ããã - é å以å¤ãæå®ããå ´åã¯ãã¬ã¼ã¹ãã«ããã²ã¨ã¤ã§ãããã¨ãæå³ãã - é åãæå®ããå ´åã¯é åã®åã ã®è¦ç´ ãããããã®ãã©ã¡ã¼ã¿ã«å¯¾å¿ãã¾ãã - </para> - <para> - æå®ãããå ´åã¯ã - <link linkend="package.database.db.intro-execute"> - <function>prepare</function>/ - <function>execute</function></link> ã使ç¨ããã¾ãã - </para> - </listitem> - </varlistentry> - </variablelist> - </para> - </refsect1> - - <refsect1 id="package.database.db.db-common.getone.return"> - &title.returns; - <para> - &type.mixed; - æåã®ã«ã©ã ã®ãã¼ã¿ããããã¯å¤±æããå ´åã« - &class.db-error; ãªãã¸ã§ã¯ããè¿ãã¾ãã - </para> - </refsect1> - - <refsect1 id="package.database.db.db-common.getone.throws"> - &title.throws; - <para> - <table> - <title>&title.throws.errortable;</title> - <tgroup cols="4"> - <thead> - <row> - <entry>ã¨ã©ã¼ã³ã¼ã</entry> - <entry>ã¨ã©ã¼ã¡ãã»ã¼ã¸</entry> - <entry>åå </entry> - <entry>å¯¾å¿æ³</entry> - </row> - </thead> - <tbody> - <row> - <entry><constant>DB_ERROR_INVALID</constant></entry> - <entry> - invalid - </entry> - <entry> - æºåããã SQL æãç¡å¹ã§ãã - </entry> - <entry> - ãã¬ã¼ã¹ãã«ãã使ç¨ãã SQL æãç¨ããå ´å㯠- <link linkend="package.database.db.db-common.prepare"> - <function>prepare</function> ã®ããã¥ã¡ã³ã</link> - ãåç §ãã ããã - </entry> - </row> - <row> - <entry><constant>DB_ERROR_MISMATCH</constant></entry> - <entry> - mismatch - </entry> - <entry> - ãã©ã¡ã¼ã¿ã®æ°ããããªãã¢ãã¹ãã¼ãã¡ã³ãä¸ã® - ãã¬ã¼ã¹ãã«ãã®æ°ã¨ä¸è´ãã¾ããã - </entry> - <entry> - <parameter>$query</parameter> ã«æ¸¡ãã - <link linkend="package.database.db.db-common.prepare"> - <function>prepare</function></link> æ¸ã¿ã®æä¸ã® - ãã¬ã¼ã¹ãã«ãã®æ°ãã<parameter>$params</parameter> - ã§æ¸¡ããé ç®ã®æ°ã¨ä¸è´ãããã©ããã調ã¹ã¾ãã - </entry> - </row> - <row> - <entry><constant>DB_ERROR_NODBSELECTED</constant></entry> - <entry> - no database selected - </entry> - <entry> - ãã¼ã¿ãã¼ã¹ã鏿ããã¦ãã¾ããã - </entry> - <entry> - <link linkend="package.database.db.db.connect"> - <function>connect</function></link> ã®éã® - <link linkend="package.database.db.intro-dsn">DSN</link> - ã調ã¹ã¾ãã - </entry> - </row> - <row> - <entry>ãã®ä»ã®ã¨ã©ã¼ã³ã¼ã</entry> - <entry></entry> - <entry> - ãã¼ã¿ãã¼ã¹åºæã®ã¨ã©ã¼ã - </entry> - <entry> - <ulink url="&url.php.manual;">PHP ããã¥ã¢ã«</ulink> - ã®ãã¼ã¿ãã¼ã¹é¢é£ã®é¨åã調ã¹ãã¨ã©ã¼ã®åå ã夿ãã¦ãã ããã - ããã¦ãã®å ´å㯠SQL æãééã£ã¦ãããã¨ãåå ã§ããä¾ãã° - Oracle ãã¼ã¿ãã¼ã¹ã«å¯¾ã㦠SQL ã§ LIMIT ã使ç¨ãã¦ãããªã©ã - èãããã¾ãã - </entry> - </row> - </tbody> - </tgroup> - </table> - </para> - </refsect1> - - <refsect1 id="package.database.db.db-common.getone.note"> - &title.note; - ¬e.notstatic; - </refsect1> - - <refsect1 id="package.database.db.db-common.getOne.example"> - &title.example; - <example> - <title><function>getOne</function> ã®ä½¿ç¨æ³</title> - <programlisting role="php"> - <![CDATA[ -<?php -// $db ã¨ããååã® DB ãªãã¸ã§ã¯ããåå¾ãã¦ããã¨ãã¾ã... -$data =& $db->getOne('SELECT cf FROM foo'); - -if (PEAR::isError($data)) { - die($data->getMessage()); -} - -echo "$data\n"; -?> - ]]> - </programlisting> - </example> - - <example> - <title> - ãã¬ã¼ã¹ãã«ããã²ã¨ã¤ã®å ´åã® <function>getOne</function> ã®ä½¿ç¨æ³ - </title> - <programlisting role="php"> - <![CDATA[ -<?php -// $db ã¨ããååã® DB ãªãã¸ã§ã¯ããåå¾ãã¦ããã¨ãã¾ã... -$data =& $db->getOne('SELECT cf FROM foo WHERE nf = ?', - 5); - -if (PEAR::isError($data)) { - die($data->getMessage()); -} - -echo "$data\n"; -?> - ]]> - </programlisting> - </example> - - <example> - <title> - ãã¬ã¼ã¹ãã«ãããµãã¤ã®å ´åã® <function>getOne</function> ã®ä½¿ç¨æ³ - </title> - <programlisting role="php"> - <![CDATA[ -<?php -// $db ã¨ããååã® DB ãªãã¸ã§ã¯ããåå¾ãã¦ããã¨ãã¾ã... -$data =& $db->getOne('SELECT cf FROM foo WHERE nf IN (?, ?)', - array(5, 10)); - -if (PEAR::isError($data)) { - die($data->getMessage()); -} - -echo "$data\n"; -?> - ]]> - </programlisting> - </example> - </refsect1> - - <refsect1 id="package.database.db.db-common.getone.see"> - &title.see; - <para> - <link linkend="package.database.db.db-common.getrow"> - <function>getRow</function></link>ã - <link linkend="package.database.db.db-common.getcol"> - <function>getCol</function></link>ã - <link linkend="package.database.db.db-common.getassoc"> - <function>getAssoc</function></link>ã - <link linkend="package.database.db.db-common.getall"> - <function>getAll</function></link>ã - <link linkend="package.database.db.db-common.query"> - <function>query</function></link>ã - <link linkend="package.database.db.intro-execute"> - <quote>å°å ¥ - æºåã¨å®è¡</quote></link> - </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-executeMultiple-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 ---> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.31 Maintainer: takagi Status: ready --> + +<refentry id="package.database.db.db-common.getone"> + <refnamediv> + <refname>DB_common::getOne()</refname> + <refpurpose>ã¯ã¨ãªãå®è¡ããæåã®è¡ã®æåã®ã«ã©ã ãè¿ã</refpurpose> + </refnamediv> + + <refsynopsisdiv> + <funcsynopsis> + <funcprototype> + <funcdef>mixed <function>&getOne</function></funcdef> + <paramdef> + string <parameter>$query</parameter> + </paramdef> + <paramdef> + mixed <parameter><optional>$params = array()</optional></parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> + + <refsect1 id="package.database.db.db-common.getone.desc"> + &title.desc; + <para> + æå®ããã¯ã¨ãªãå®è¡ããçµæã®æåã®è¡ã»æåã®ã«ã©ã ã®ãã¼ã¿ãè¿ãããã¨ã§ + çµæã»ãããéæ¾ãã¾ãã + </para> + </refsect1> + + <refsect1 id="package.database.db.db-common.getone.parameter"> + &title.param; + <para> + <variablelist> + <varlistentry> + <term> + &type.string; + <parameter>$query</parameter> + </term> + <listitem> + <para> + SQL ã¯ã¨ãªãããã¯ããªãã¢ãã¹ãã¼ãã¡ã³ãã + </para> + </listitem> + </varlistentry> + <varlistentry> + <term> + &type.mixed; + <parameter>$params</parameter> + </term> + <listitem> + <para> + ããªãã¢ãã¹ãã¼ãã¡ã³ãã«è¿½å ããããé åã»æååãããã¯æ°å¤ã®ãã¼ã¿ã + é åã®è¦ç´ æ°ã¯ãã¯ã¨ãªå ã®ãã¬ã¼ã¹ãã«ãã®æ°ã¨åãã§ãªããã°ãªãã¾ããã + é å以å¤ãæå®ããå ´åã¯ãã¬ã¼ã¹ãã«ããã²ã¨ã¤ã§ãããã¨ãæå³ãã + é åãæå®ããå ´åã¯é åã®åã ã®è¦ç´ ãããããã®ãã©ã¡ã¼ã¿ã«å¯¾å¿ãã¾ãã + </para> + <para> + æå®ãããå ´åã¯ã + <link linkend="package.database.db.intro-execute"> + <function>prepare</function>/ + <function>execute</function></link> ã使ç¨ããã¾ãã + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 id="package.database.db.db-common.getone.return"> + &title.returns; + <para> + &type.mixed; - æåã®ã«ã©ã ã®ãã¼ã¿ (ãã¼ã¿ããªãå ´å㯠&null;)ããããã¯å¤±æããå ´åã« + &class.db-error; ãªãã¸ã§ã¯ããè¿ãã¾ãã + </para> + </refsect1> + + <refsect1 id="package.database.db.db-common.getone.throws"> + &title.throws; + <para> + <table> + <title>&title.throws.errortable;</title> + <tgroup cols="4"> + <thead> + <row> + <entry>ã¨ã©ã¼ã³ã¼ã</entry> + <entry>ã¨ã©ã¼ã¡ãã»ã¼ã¸</entry> + <entry>åå </entry> + <entry>å¯¾å¿æ³</entry> + </row> + </thead> + <tbody> + <row> + <entry><constant>DB_ERROR_INVALID</constant></entry> + <entry> + invalid + </entry> + <entry> + æºåããã SQL æãç¡å¹ã§ãã + </entry> + <entry> + ãã¬ã¼ã¹ãã«ãã使ç¨ãã SQL æãç¨ããå ´å㯠+ <link linkend="package.database.db.db-common.prepare"> + <function>prepare</function> ã®ããã¥ã¡ã³ã</link> + ãåç §ãã ããã + </entry> + </row> + <row> + <entry><constant>DB_ERROR_MISMATCH</constant></entry> + <entry> + mismatch + </entry> + <entry> + ãã©ã¡ã¼ã¿ã®æ°ããããªãã¢ãã¹ãã¼ãã¡ã³ãä¸ã® + ãã¬ã¼ã¹ãã«ãã®æ°ã¨ä¸è´ãã¾ããã + </entry> + <entry> + <parameter>$query</parameter> ã«æ¸¡ãã + <link linkend="package.database.db.db-common.prepare"> + <function>prepare</function></link> æ¸ã¿ã®æä¸ã® + ãã¬ã¼ã¹ãã«ãã®æ°ãã<parameter>$params</parameter> + ã§æ¸¡ããé ç®ã®æ°ã¨ä¸è´ãããã©ããã調ã¹ã¾ãã + </entry> + </row> + <row> + <entry><constant>DB_ERROR_NODBSELECTED</constant></entry> + <entry> + no database selected + </entry> + <entry> + ãã¼ã¿ãã¼ã¹ã鏿ããã¦ãã¾ããã + </entry> + <entry> + <link linkend="package.database.db.db.connect"> + <function>connect</function></link> ã®éã® + <link linkend="package.database.db.intro-dsn">DSN</link> + ã調ã¹ã¾ãã + </entry> + </row> + <row> + <entry>ãã®ä»ã®ã¨ã©ã¼ã³ã¼ã</entry> + <entry></entry> + <entry> + ãã¼ã¿ãã¼ã¹åºæã®ã¨ã©ã¼ã + </entry> + <entry> + <ulink url="&url.php.manual;">PHP ããã¥ã¢ã«</ulink> + ã®ãã¼ã¿ãã¼ã¹é¢é£ã®é¨åã調ã¹ãã¨ã©ã¼ã®åå ã夿ãã¦ãã ããã + ããã¦ãã®å ´å㯠SQL æãééã£ã¦ãããã¨ãåå ã§ããä¾ãã° + Oracle ãã¼ã¿ãã¼ã¹ã«å¯¾ã㦠SQL ã§ LIMIT ã使ç¨ãã¦ãããªã©ã + èãããã¾ãã + </entry> + </row> + </tbody> + </tgroup> + </table> + </para> + </refsect1> + + <refsect1 id="package.database.db.db-common.getone.note"> + &title.note; + ¬e.notstatic; + </refsect1> + + <refsect1 id="package.database.db.db-common.getOne.example"> + &title.example; + <example> + <title><function>getOne</function> ã®ä½¿ç¨æ³</title> + <programlisting role="php"> + <![CDATA[ +<?php +// $db ã¨ããååã® DB ãªãã¸ã§ã¯ããåå¾ãã¦ããã¨ãã¾ã... +$data =& $db->getOne('SELECT cf FROM foo'); + +if (PEAR::isError($data)) { + die($data->getMessage()); +} + +echo "$data\n"; +?> + ]]> + </programlisting> + </example> + + <example> + <title> + ãã¬ã¼ã¹ãã«ããã²ã¨ã¤ã®å ´åã® <function>getOne</function> ã®ä½¿ç¨æ³ + </title> + <programlisting role="php"> + <![CDATA[ +<?php +// $db ã¨ããååã® DB ãªãã¸ã§ã¯ããåå¾ãã¦ããã¨ãã¾ã... +$data =& $db->getOne('SELECT cf FROM foo WHERE nf = ?', + 5); + +if (PEAR::isError($data)) { + die($data->getMessage()); +} + +echo "$data\n"; +?> + ]]> + </programlisting> + </example> + + <example> + <title> + ãã¬ã¼ã¹ãã«ãããµãã¤ã®å ´åã® <function>getOne</function> ã®ä½¿ç¨æ³ + </title> + <programlisting role="php"> + <![CDATA[ +<?php +// $db ã¨ããååã® DB ãªãã¸ã§ã¯ããåå¾ãã¦ããã¨ãã¾ã... +$data =& $db->getOne('SELECT cf FROM foo WHERE nf IN (?, ?)', + array(5, 10)); + +if (PEAR::isError($data)) { + die($data->getMessage()); +} + +echo "$data\n"; +?> + ]]> + </programlisting> + </example> + </refsect1> + + <refsect1 id="package.database.db.db-common.getone.see"> + &title.see; + <para> + <link linkend="package.database.db.db-common.getrow"> + <function>getRow</function></link>ã + <link linkend="package.database.db.db-common.getcol"> + <function>getCol</function></link>ã + <link linkend="package.database.db.db-common.getassoc"> + <function>getAssoc</function></link>ã + <link linkend="package.database.db.db-common.getall"> + <function>getAll</function></link>ã + <link linkend="package.database.db.db-common.query"> + <function>query</function></link>ã + <link linkend="package.database.db.intro-execute"> + <quote>å°å ¥ - æºåã¨å®è¡</quote></link> + </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-executeMultiple-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/networking/net-pop3/login.xml?view=markup&rev=1.1 Index: peardoc/ja/package/networking/net-pop3/login.xml +++ peardoc/ja/package/networking/net-pop3/login.xml <?xml version="1.0" encoding="utf-8" ?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.networking.net-pop3.login"> <refnamediv> <refname>Net_POP3::login()</refname> <refpurpose>ãã°ã¤ã³æç¶ããè¡ã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Net/POP3.php'; </funcsynopsisinfo> <funcprototype> <funcdef>boolean <function>Net_POP3::login</function></funcdef> <paramdef> string <parameter>$user</parameter> string <parameter>$pass</parameter> boolean <parameter>$apop</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.networking.net-pop3.login.desc"> &title.desc; <para> ãã°ã¤ã³æç¶ããå®è¡ãã¾ããã¿ã¤ã ã¹ã¿ã³ããä¿åããã¦ããå ´åã¯ã¾ã APOP ã試ã¿ãããããåºæ¬ç㪠USER/PASS ã«ãããã°ã¤ã³ã試ã¿ã¾ãã </para> </refsect1> <refsect1 id="package.networking.net-pop3.login.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $user</parameter> - 使ç¨ããã¦ã¼ã¶åã </para> </listitem> </itemizedlist> <itemizedlist> <listitem> <para> <parameter>string $pass</parameter> - 使ç¨ãããã¹ã¯ã¼ãã </para> </listitem> </itemizedlist> <itemizedlist> <listitem> <para> <parameter>boolean $apop</parameter> - APOP ã試ã¿ããã©ããã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.networking.net-pop3.login.return"> &title.returns; <para> &return.success-pearerror; </para> </refsect1> <refsect1 id="package.networking.net-pop3.login.note"> &title.note; ¬e.notstatic; </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 -->