cvs: phpdoc /ja Translators /ja/functions errorfunc.xml funchand.xml ingres_ii.xml var.xml xslt.xml
| From: | Rui Hirokawa | Date: | Sun, 26 Nov 2000 12:47:22 +0000 |
| Subject: | cvs: phpdoc /ja Translators /ja/functions errorfunc.xml funchand.xml ingres_ii.xml var.xml xslt.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969333078@lists.php.net to get a copy of this message | ||
hirokawa Sun Nov 26 04:47:22 2000 EDT
Modified files:
/phpdoc/ja Translators
/phpdoc/ja/functions errorfunc.xml funchand.xml ingres_ii.xml
var.xml xslt.xml
Log:
update translations.
Index: phpdoc/ja/Translators diff -u phpdoc/ja/Translators:1.14 phpdoc/ja/Translators:1.15 --- phpdoc/ja/Translators:1.14 Mon Nov 13 13:41:00 2000 +++ phpdoc/ja/Translators Sun Nov 26 04:47:14 2000 @@ -60,6 +60,7 @@ functions/image.xml Chihiro Higuchi functions/imap.xml Michihide Hotta functions/info.xml Michihide Hotta +functions/ingres_ii.xml Rui Hirokawa functions/mail.xml Rui Hirokawa functions/math.xml Machino Satoshi functions/mcal.xml Rui Hirokawa Index: phpdoc/ja/functions/errorfunc.xml diff -u phpdoc/ja/functions/errorfunc.xml:1.3 phpdoc/ja/functions/errorfunc.xml:1.4 --- phpdoc/ja/functions/errorfunc.xml:1.3 Sun Nov 19 15:00:22 2000 +++ phpdoc/ja/functions/errorfunc.xml Sun Nov 26 04:47:14 2000 @@ -445,7 +445,7 @@ <para> ã¦ã¼ã¶ãã³ãã©é¢æ°ã¯ãè¦ããã° <function>die</function> ãã³ã¼ã« ãã責任ããããã¨ã«ã注æãè¦ãã¾ããã¨ã©ã¼ãã³ãã©é¢æ°ããªã¿ã¼ - ã³ããå ´åãã¹ã¯ªããã®å®è¡ã¯ãã¨ã©ã¼ãçºçããå½ä»¤ã®æ¬¡ã®å½ä»¤ã« + ã³ããå ´åãã¹ã¯ªããã®å®è¡ã¯ãã¨ã©ã¼ãçºçããå½ä»¤ã®æ¬¡ã®å½ä»¤ã« ç¶ç¶ããã¾ãã </para> <para> @@ -478,11 +478,15 @@ <para> ã¦ã¼ã¶ã¨ã©ã¼ãçºçããããã«ä½¿ç¨ãããçµè¾¼ã®ã¨ã©ã¼ãã³ãã©ã¾ã㯠æ°ããã¨ã©ã¼ãã³ãã©(<function>set_error_handler</function>)ã¨ã - ã¦è¨å®æ¸ã®ã¦ã¼ã¶å®ç¾©é¢æ°ã¨çµã¿åããã¦ä½¿ç¨ããã¾ãããã®é¢æ°ã¯ã - å®è¡æã®ä¾å¤ã«ç¹å®ã®å¿çãçæããå¿ è¦ãããå ´åã«æç¨ã§ãã - 以ä¸ã«ä¾ã示ãã¾ãã + ã¦è¨å®æ¸ã®ã¦ã¼ã¶å®ç¾©é¢æ°ã¨çµã¿åããã¦ä½¿ç¨ããã¾ããã¨ã©ã¼åã«ã¯ + E_USER é¢é£ã®å®æ°ã®ã¿ã使ç¨å¯è½ã§ãããã©ã«ã㯠+ <constant>E_USER_NOTICE</constant>ã¨ãªã£ã¦ãã¾ãã + </para> + <para> + ãã®é¢æ°ã¯ãå®è¡æã®ä¾å¤ã«ç¹å®ã®å¿çãçæããå¿ è¦ãããå ´åã«æ + ç¨ã§ãã以ä¸ã«ä¾ã示ãã¾ãã <informalexample> - <programlisting> + <programlisting role="php"> if (assert($divisor == 0)) trigger_error("Cannot divide by zero", E_USER_ERROR); </programlisting> Index: phpdoc/ja/functions/funchand.xml diff -u phpdoc/ja/functions/funchand.xml:1.1 phpdoc/ja/functions/funchand.xml:1.2 --- phpdoc/ja/functions/funchand.xml:1.1 Sat Sep 9 22:15:50 2000 +++ phpdoc/ja/functions/funchand.xml Sun Nov 26 04:47:20 2000 @@ -359,10 +359,23 @@ <paramdef>string <parameter>function_name</parameter></paramdef> </funcprototype> </funcsynopsis> - <simpara> - <parameter>function_name</parameter> ã«ã¤ãã¦å®ç¾©ããã颿°ã®ãªã¹ãã - 確èªãã¾ããæå®ãã颿°åãããå ´åã«trueãä»ã®å ´åã«falseãè¿ãã¾ãã - </simpara> + <para> + <parameter>function_name</parameter> ã«ã¤ãã¦å®ç¾©ããã颿°ã®ãªã¹ + ãã確èªãã¾ããæå®ãã颿°åãããå ´åã«trueãä»ã®å ´åã«falseã + è¿ãã¾ãã + <informalexample> + <programlisting role="php"> +if (function_exists('imap_open')) { + echo "IMAP 颿°ãå©ç¨å¯è½ã§ãã<br>\n"; +} else { + echo "IMAP 颿°ã¯å©ç¨ã§ãã¾ããã<br>\n"; +} + </programlisting> + </informalexample> + </para> + <para> + <function>method_exists</function> ãåç §ä¸ããã + </para> </refsect1> </refentry> Index: phpdoc/ja/functions/ingres_ii.xml diff -u phpdoc/ja/functions/ingres_ii.xml:1.1 phpdoc/ja/functions/ingres_ii.xml:1.2 --- phpdoc/ja/functions/ingres_ii.xml:1.1 Mon Nov 20 13:08:39 2000 +++ phpdoc/ja/functions/ingres_ii.xml Sun Nov 26 04:47:20 2000 @@ -1,37 +1,39 @@ <reference id="ref.ingres"> - <title>Ingres II functions</title> + <title>Ingres II 颿°</title> <titleabbrev>Ingres II</titleabbrev> <partintro> <simpara> - These functions allow you to access Ingres II database servers. + ãããã®é¢æ°ã«ãããIngres II ãã¼ã¿ãã¼ã¹ãµã¼ãã«ã¢ã¯ã»ã¹ã§ããã + ãã«ãªãã¾ãã </simpara> <simpara> - In order to have these functions available, you must compile php - with Ingres support by using the - <option role="configure">--with-ingres</option> option. - You need the Open API library and header files included with - Ingres II. If the II_SYSTEM environment variable isn't correctly - set you may have to use - <option role="configure">--with-ingres=DIR</option> - to specify your Ingres installation directory. + ãããã®é¢æ°ãå©ç¨å¯è½ã¨ããã«ã¯ããªãã·ã§ã³ + <option role="configure">--with-ingres</option> ãä»ã㦠Ingres ãµ + ãã¼ããæå¹ã«ãã¦PHPãã³ã³ãã¤ã«ããå¿ è¦ãããã¾ããã³ã³ãã¤ã«ã« + ã¯ãIngres II ã«å«ã¾ãã Open API ã©ã¤ãã©ãªã¨ããããå¿ è¦ã§ãã + ç°å¢å¤æ° II_SYSTEM ãæ£ç¢ºã«è¨å®ããã¦ããªãå ´åãIngres ãã¤ã³ã¹ãã¼ + ã«ããããã£ã¬ã¯ããªãæå®ããããã« + <option role="configure">--with-ingres=DIR</option> ã使ç¨ããå¿ è¦ + ãããããããã¾ããã </simpara> <simpara> - When using this extension with Apache, if Apache does not start - and complains with "PHP Fatal error: Unable to start - ingres_ii module in Unknown on line 0" - then make sure the environement variable II_SYSTEM is correctly - set. Adding "export II_SYSTEM="/home/ingres/II" in the script - that starts Apache, just before launching httpd, should be fine. + ãã®æ¡å¼µã¢ã¸ã¥ã¼ã«ã Apache ã§ä½¿ç¨ããéã« Apache ãèµ·åããã + "PHP Fatal error: Unable to start + ingres_ii module in Unknown on line 0" ã¨ããã¨ã©ã¼ãçºçããå ´åã + ç°å¢å¤æ° II_SYSTEM ãæ£ç¢ºã«è¨å®ããã¦ãããã©ããã確èªãã¦ä¸ããã + "export II_SYSTEM="/home/ingres/II" ã Apache ãéå§ããã¹ã¯ãªãã + ã«è¿½å ãã¦ä¸ããããã®å¾ãhttpd ãèµ·åããã°ããã¾ãããã¯ãã§ãã </simpara> <note> <para> - If you already used PHP extensions to access other database servers, - note that Ingres doesn't allow concurrent queries and/or transaction - over one connection, thus you won't find any result or transaction - handle in this extension. The result of a query must be treated - before sending another query, and a transaction must be commited or - rolled back before opening another transaction (which is automaticaly - done when sending the first query). + ä»ã®ãã¼ã¿ãã¼ã¹ãµã¼ãã«ã¢ã¯ã»ã¹ããããã«æ¢ã«PHP æ¡å¼µã¢ã¸ã¥ã¼ã« + ã使ç¨ãã¦ããå ´åãIngres ã¯åä¸ã®ã³ãã¯ã·ã§ã³ã«ã¤ãã¦è¤æ°ã®ã¯ã¨ + ãªããã©ã³ã¶ã¯ã·ã§ã³ã®ä¸¦åå®è¡ãã§ããªããã¤ã¾ãããã®æ¡å¼µã¢ã¸ã¥ã¼ + ã«ã«ããã¦çµæããã³ãã©ã³ã¶ã¯ã·ã§ã³ã®ãã³ãã«ãå¾ããã¨ãã§ããªã + ãã¨ã«æ³¨æããå¿ è¦ãããã¾ããã¯ã¨ãªã®çµæã¯ãå¥ã®ã¯ã¨ãªãéä¿¡ã + ãåã«å¦çããå¿ è¦ãããããã©ã³ã¶ã¯ã·ã§ã³ã¯å¥ã®ãã©ã³ã¶ã¯ã·ã§ã³ + ããªã¼ãã³ããåã«ã³ãããã¾ãã¯ãã¼ã«ããã¯ããå¿ è¦ãããã¾ãã + (ããã¯ãæåã®ã¯ã¨ãªãéä¿¡ããéã«èªåçã«è¡ããã¾ã) </para> </note> </partintro> @@ -39,10 +41,10 @@ <refentry id="function.ingres-connect"> <refnamediv> <refname>ingres_connect</refname> - <refpurpose>Open a connection to an Ingres II database.</refpurpose> + <refpurpose>Ingres II ãã¼ã¿ãã¼ã¹ã¸ã®æ¥ç¶ããªã¼ãã³ãã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>resource <function>ingres_connect</function></funcdef> @@ -58,55 +60,59 @@ </funcprototype> </funcsynopsis> <para> - Returns a Ingres II link resource on success, or false on failure. + æåæã« Ingres II ãªã³ã¯ãªã½ã¼ã¹ã失æããéã« false ãè¿ãã¾ãã </para> <para> - <function>ingres_connect</function> opens a connection with the - Ingres database designated by <parameter>database</parameter>, which - follows the syntax <parameter>[node_id::]dbname[/svr_class]</parameter>. + <function>ingres_connect</function> ã¯ã + <parameter>database</parameter> ã¨ãã®å¾ã«ç¶ã + <parameter>[node_id::]dbname[/svr_class]</parameter> æ§æã«ããæ + å®ããã Ingres ãã¼ã¿ãã¼ã¹ã¸ã®æ¥ç¶ããªã¼ãã³ãã¾ãã </para> <para> - If some parameters are missing, <function>ingres_connect</function> - uses the values in <filename>php.ini</filename> for - <parameter>ingres.default_database</parameter>, - <parameter>ingres.default_user</parameter> and - <parameter>ingres.default_password</parameter>. + ããã¤ãã®ãã©ã¡ã¼ã¿ãæ¬ ãã¦ããå ´åã + <function>ingres_connect</function> ã¯ã + <parameter>ingres.default_database</parameter>ã + <parameter>ingres.default_user</parameter>ã + <parameter>ingres.default_password</parameter> ã«é¢ã㦠+ <filename>php.ini</filename> ã®å¤ã使ç¨ãã¾ãã </para> <para> - The connection is closed when the script ends or when - <function>ingres_close</function> is called on this link. + æ¥ç¶ã¯ãã¹ã¯ãªããã®å®è¡çµäºæã¾ãã¯ããã®ãªã³ã¯ã«ã¤ã㦠+ <function>ingres_close</function> ãã³ã¼ã«ãããå ´åã«ã¯ãã¼ãºã + ãã¾ãã </para> <para> - All the other ingres functions use the last opened link as a - default, so you need to store the returned value only if you use - more than one link at a time. + ä»ã®å ¨ã¦ã® Ingres 颿°ã¯ãããã©ã«ãã§ç´è¿ã«ãªã¼ãã³ããããªã³ã¯ + ã使ç¨ãã¾ãããã®ãããè¤æ°ã®ãªã³ã¯ãåæã«ä½¿ç¨ãããå ´åã«ã¯ã + è¿ãããå¤ãä¿åãã¦ããå¿ è¦ãããã¾ãã </para> <example> - <title><function>ingres_connect</function> example</title> - <programlisting> + <title><function>ingres_connect</function> ã®ä¾</title> + <programlisting role="php"> <?php $link = ingres_connect ("mydb", "user", "pass") - or die ("Could not connect"); - print ("Connected successfully"); + or die ("æ¥ç¶ã§ãã¾ãã"); + print ("æ¥ç¶ã«æåãã¾ãã"); ingres_close ($link); ?> </programlisting> </example> <example> - <title><function>ingres_connect</function> example - using default link</title> - <programlisting> + <title> + ããã©ã«ããªã³ã¯ã使ç¨ãã<function>ingres_connect</function>ã®ä¾ + </title> + <programlisting role="php"> <?php ingres_connect ("mydb", "user", "pass") - or die ("Could not connect"); - print ("Connected successfully"); + or die ("æ¥ç¶ã§ãã¾ãã"); + print ("æ¥ç¶ã«æåãã¾ãã"); ingres_close (); ?> </programlisting> </example> - <para> See also - <function>ingres_pconnect</function>, and - <function>ingres_close</function>. + <para> + <function>ingres_pconnect</function> ããã³ + <function>ingres_close</function>ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -115,11 +121,11 @@ <refnamediv> <refname>ingres_pconnect</refname> <refpurpose> - Open a persistent connection to an Ingres II database. + Ingres II ãã¼ã¿ãã¼ã¹ã¸ã®æç¶çæ¥ç¶ããªã¼ãã³ãã </refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>resource <function>ingres_pconnect</function></funcdef> @@ -135,26 +141,26 @@ </funcprototype> </funcsynopsis> <para> - Returns a Ingres II link resource on success, or false on failure. + æåããéã« Ingres II ãªã³ã¯ãªã½ã¼ã¹ã失æããéã« false ãè¿ã + ã¾ãã </para> <para> - See <function>ingres_connect</function> for parameters details and - examples. There are only 2 differences between - <function>ingres_pconnect</function> and - <function>ingres_connect</function> : - First, when connecting, the function will first try to find a - (persistent) link that's already opened with the same parameters. - If one is found, an identifier for it will be returned instead of - opening a new connection. Second, the connection to the Ingres - server will not be closed when the execution of the script ends. - Instead, the link will remain open for future use - (<function>ingres_close</function> will not close links established - by <function>ingres_pconnect</function>). This type of link is - therefore called 'persistent'. - </para> - <para> See also - <function>ingres_connect</function>, and - <function>ingres_close</function>. + ãã©ã¡ã¼ã¿ã®è©³ç´°ã¨ä¾ã«ã¤ãã¦ã¯ã + <function>ingres_connect</function> ãåç §ä¸ããã + <function>ingres_pconnect</function> 㨠+ <function>ingres_connect</function> ã®éãã¯æ¬¡ã®2ã¤ã ãã§ãã + ã¾ããæ¥ç¶æã«ãã®é¢æ°ã¯ãã¾ãåããã©ã¡ã¼ã¿æ¢ã«ãªã¼ãã³ãã㦠+ ãã(æç¶çãª)ãªã³ã¯ãæ¢ããã¨ã§ãã第2ã«ãIngres ãµã¼ãã¸ã®æ¥ç¶ + ã¯ã¹ã¯ãªããã®å®è¡çµäºæã«ãã¯ãã¼ãºãããªãã¨ããã§ãã代ããã«ã + ãªã³ã¯ã¯ãå¾ã§ä½¿ç¨ããããã«ãªã¼ãã³ãããã¾ã¾ã¨ãªãã¾ãã + (<function>ingres_close</function> ã¯ã + <function>ingres_pconnect</function>ã«ãã確ç«ããããªã³ã¯ãã¯ãã¼ + ãºãã¾ãã) ãã®ããããã®åã®ãªã³ã¯ã¯ãæç¶ç(persistent)ãã§ã + ãã¨å¼ã°ãã¾ãã + </para> + <para> + <function>ingres_connect</function> ããã³ + <function>ingres_close</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -162,10 +168,10 @@ <refentry id="function.ingres-close"> <refnamediv> <refname>ingres_close</refname> - <refpurpose>Close an Ingres II database connection</refpurpose> + <refpurpose>Ingres II ãã¼ã¿ãã¼ã¹æ¥ç¶ãéãã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>bool<function>ingres_close</function></funcdef> @@ -175,22 +181,22 @@ </funcprototype> </funcsynopsis> <para> - Returns true on success, or false on failure. + æåæã«trueã失ææã«falseãè¿ãã¾ãã </para> <para> - <function>ingres_close</function> closes the connection to - the Ingres server that's associated with the specified link. - If the <parameter>link</parameter> parameter isn't - specified, the last opened link is used. + <function>ingres_close</function> ã¯ãæå®ãããªã³ã¯ãæã Ingres + ãµã¼ãã¸ã®æ¥ç¶ãã¯ãã¼ãºãã¾ãããã©ã¡ã¼ã¿ + <parameter>link</parameter>ãæå®ãããªãå ´åãç´è¿ã«ãªã¼ãã³ãã + ããªã³ã¯ã使ç¨ããã¾ãã </para> <para> - <function>ingres_close</function> isn't usually necessary, as it - won't close persistent connections and all non-persistent connections - are automatically closed at the end of the script. + æç¶çæ¥ç¶ãã¯ãã¼ãºãããã¨ã¯ã§ãããæç¶çã§ãªãæ¥ç¶ã¯ã¹ã¯ãªã + ãã®çµäºæã«èªåçã«ã¯ãã¼ãºãããããã + <function>ingres_close</function> ã¯é常ã¯ä¸è¦ã§ãã </para> - <para> See also - <function>ingres_connect</function>, and - <function>ingres_pconnect</function>. + <para> + <function>ingres_connect</function> ããã³ + <function>ingres_pconnect</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -198,10 +204,10 @@ <refentry id="function.ingres-query"> <refnamediv> <refname>ingres_query</refname> - <refpurpose>Send a SQL query to Ingres II</refpurpose> + <refpurpose>Ingres II ã«SQLã¯ã¨ãªãéä¿¡ãã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>bool<function>ingres_query</function></funcdef> @@ -214,60 +220,64 @@ </funcprototype> </funcsynopsis> <para> - Returns true on success, or false on failure. + æåæã«trueã失ææã«falseãè¿ãã¾ãã </para> <para> - <function>ingres_query</function> sends the given - <parameter>query</parameter> to the Ingres server. This query - must be a valid SQL query (see the Ingres SQL reference guide) + <function>ingres_query</function> ã¯ãæå®ãã + <parameter>query</parameter> ã Ingres ãµã¼ãã«éä¿¡ãã¾ãããã®ã¯ + ã¨ãªã¯ãæå¹ãªSQLã¯ã¨ãªã§ããå¿ è¦ãããã¾ãã(Ingres SQL ãªãã¡ã¬ + ã³ã¹ã¬ã¤ããåç §ä¸ãã) + </para> + <para> + ã¯ã¨ãªã¯ãç¾å¨ãªã¼ãã³ããã¦ãããã©ã³ã¶ã¯ã·ã§ã³ã®ä¸é¨ã¨ãªãã¾ãã + ãªã¼ãã³ããã¦ãããã©ã³ã¶ã¯ã·ã§ã³ããªãå ´åã + <function>ingres_query</function> ã¯æ°è¦ã®ãã©ã³ã¶ã¯ã·ã§ã³ããªã¼ + ãã³ãã¾ãããã©ã³ã¶ã¯ã·ã§ã³ãã¯ãã¼ãºããã«ã¯ããã¼ã¿ãã¼ã¹ã¸ã® + 夿´ãã³ãããããå ´åã« <function>ingres_commit</function> ãã + ãããã®å¤æ´ããã£ã³ã»ã«ããå ´åã« + <function>ingres_rollback</function> ã®ã©ã¡ããã使ç¨ãããã¨ãå¯ + è½ã§ããã¹ã¯ãªããçµäºæã«ãå ¨ã¦ã®ãªã¼ãã³ããããã©ã³ã¶ã¯ã·ã§ã³ + ã¯(<function>ingres_rollback</function>ãã³ã¼ã«ãããã¨ã«ãã) + ãã¼ã«ããã¯ããã¾ããæ°è¦ãã©ã³ã¶ã¯ã·ã§ã³ããªã¼ãã³ããåã« + <function>ingres_autocommit</function> ã使ç¨ãããã¨ãå¯è½ã§ãã + ãã®å ´åãåSQLã¯ã¨ãªã¯ç´ã¡ã«ã³ãããããã¾ãã </para> <para> - The query becomes part of the currently open transaction. - If there is no open transaction, <function>ingres_query</function> - opens a new transaction. To close the transaction, you can either - call <function>ingres_commit</function> to commit the changes made - to the database or <function>ingres_rollback</function> to cancel these - changes. When the script ends, any open transaction is rolled back - (by calling <function>ingres_rollback</function>). You can also - use <function>ingres_autocommit</function> before opening a new - transaction to have every SQL query immediatly commited. - </para> - <para> - Some types of SQL queries can't be sent with this function : + 次ã®åã®SQLã¯ã¨ãªã¯ããã®é¢æ°ã§éä¿¡ã§ãã¾ããã <itemizedlist> <listitem> - <simpara>close (see <function>ingres_close</function>).</simpara> + <simpara>close (<function>ingres_close</function>ãåç §)</simpara> </listitem> <listitem> - <simpara>commit (see <function>ingres_commit</function>).</simpara> + <simpara>commit (<function>ingres_commit</function>ãåç §)</simpara> </listitem> <listitem> - <simpara>connect (see <function>ingres_connect</function>).</simpara> + <simpara>connect (<function>ingres_connect</function>ãåç §)</simpara> </listitem> <listitem> - <simpara>disconnect (see <function>ingres_close</function>).</simpara> + <simpara>disconnect (<function>ingres_close</function>ãåç §)</simpara> </listitem> <listitem><simpara>get dbevent</simpara></listitem> <listitem><simpara>prepare to commit</simpara></listitem> <listitem> <simpara> - rollback (see <function>ingres_rollback</function>). + rollback (<function>ingres_rollback</function>ãåç §) </simpara> </listitem> <listitem><simpara>savepoint</simpara></listitem> <listitem> <simpara> - set autocommit (see <function>ingres_autocommit</function>). + set autocommit (<function>ingres_autocommit</function>ãåç §) </simpara> </listitem> <listitem> - <simpara>all cursor related queries are unsupported</simpara> + <simpara>ã«ã¼ã½ã«ã«é¢ä¿ããã¯ã¨ãªã¯ãµãã¼ãããã¦ãã¾ãã</simpara> </listitem> </itemizedlist> </para> <para> <example> - <title><function>ingres_query</function> example</title> + <title><function>ingres_query</function> ã®ä¾</title> <programlisting role="php"> <?php ingres_connect ($database, $user, $password); @@ -282,13 +292,12 @@ </example> </para> <para> - See also <function>ingres_fetch_array</function>, <function>ingres_fetch_object</function>, <function>ingres_fetch_row</function>, <function>ingres_commit</function>, - <function>ingres_rollback</function> and - <function>ingres_autocommit</function>. + <function>ingres_rollback</function>, + <function>ingres_autocommit</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -297,11 +306,11 @@ <refnamediv> <refname>ingres_num_rows</refname> <refpurpose> - Get the number of rows affected or returned by the last query + ç´è¿ã®ã¯ã¨ãªã§ä½ç¨ãããã¬ã³ã¼ãã®æ°ãåå¾ããè¿ã </refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>int<function>ingres_num_rows</function></funcdef> @@ -349,11 +358,11 @@ <refnamediv> <refname>ingres_num_fields</refname> <refpurpose> - Get the number of fields returned by the last query + ç´è¿ã®ã¯ã¨ãªã«ããè¿ããããã£ã¼ã«ãã®æ°ãå¾ã </refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>int<function>ingres_num_fields</function></funcdef> @@ -380,10 +389,10 @@ <refentry id="function.ingres-field-name"> <refnamediv> <refname>ingres_field_name</refname> - <refpurpose>Get the name of a field in a query result.</refpurpose> + <refpurpose>ã¯ã¨ãªçµæã«ããã¦ãã£ã¼ã«ãåãå¾ã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>string<function>ingres_field_name</function></funcdef> @@ -417,10 +426,10 @@ <refentry id="function.ingres-field-type"> <refnamediv> <refname>ingres_field_type</refname> - <refpurpose>Get the type of a field in a query result.</refpurpose> + <refpurpose>ã¯ã¨ãªçµæã«ããã¦ãã£ã¼ã«ãã®åãå¾ã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>string<function>ingres_field_type</function></funcdef> @@ -461,10 +470,10 @@ <refentry id="function.ingres-field-nullable"> <refnamediv> <refname>ingres_field_nullable</refname> - <refpurpose>Test if a field is nullable.</refpurpose> + <refpurpose>ãã£ã¼ã«ãã«NULLå¤ãè¨å®å¯è½ãã©ãã調ã¹ã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>bool<function>ingres_field_nullable</function></funcdef> @@ -498,10 +507,10 @@ <refentry id="function.ingres-field-length"> <refnamediv> <refname>ingres_field_length</refname> - <refpurpose>Get the length of a field.</refpurpose> + <refpurpose>ãã£ã¼ã«ãé·ãå¾ã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>int<function>ingres_field_length</function></funcdef> @@ -536,10 +545,10 @@ <refentry id="function.ingres-field-precision"> <refnamediv> <refname>ingres_field_precision</refname> - <refpurpose>Get the precision of a field.</refpurpose> + <refpurpose>ãã£ã¼ã«ãã®ç²¾åº¦ãå¾ã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>int<function>ingres_field_precision</function></funcdef> @@ -575,10 +584,10 @@ <refentry id="function.ingres-field-scale"> <refnamediv> <refname>ingres_field_scale</refname> - <refpurpose>Get the scale of a field.</refpurpose> + <refpurpose>ãã£ã¼ã«ãã®ã¹ã±ã¼ã«ãå¾ã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>int<function>ingres_field_scale</function></funcdef> @@ -613,10 +622,10 @@ <refentry id="function.ingres-fetch-array"> <refnamediv> <refname>ingres_fetch_array</refname> - <refpurpose>Fetch a row of result into an array.</refpurpose> + <refpurpose>1è¡åã®çµæãé åã«åå¾ãã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>array<function>ingres_fetch_array</function></funcdef> @@ -664,7 +673,7 @@ </para> <para> <example> - <title><function>ingres_fetch_array</function> example</title> + <title><function>ingres_fetch_array</function> ã®ä¾</title> <programlisting role="php"> <?php ingres_connect ($database, $user, $password); @@ -694,10 +703,10 @@ <refentry id="function.ingres-fetch-row"> <refnamediv> <refname>ingres_fetch_row</refname> - <refpurpose>Fetch a row of result into an enumerated array.</refpurpose> + <refpurpose>1è¡åã®çµæãæ°å¤æ·»åé åã¨ãã¦åå¾ãã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>array<function>ingres_fetch_row</function></funcdef> @@ -745,10 +754,10 @@ <refentry id="function.ingres-fetch-object"> <refnamediv> <refname>ingres_fetch_object</refname> - <refpurpose>Fetch a row of result into an object.</refpurpose> + <refpurpose>1è¡åã®çµæããªãã¸ã§ã¯ãã¨ãã¦åå¾ãã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>object<function>ingres_fetch_object</function></funcdef> @@ -811,10 +820,10 @@ <refentry id="function.ingres-rollback"> <refnamediv> <refname>ingres_rollback</refname> - <refpurpose>Roll back a transaction.</refpurpose> + <refpurpose>ãã©ã³ã¶ã¯ã·ã§ã³ããã¼ã«ããã¯ãã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>bool<function>ingres_rollback</function></funcdef> @@ -844,10 +853,10 @@ <refentry id="function.ingres-commit"> <refnamediv> <refname>ingres_commit</refname> - <refpurpose>Commit a transaction.</refpurpose> + <refpurpose>ãã©ã³ã¶ã¯ã·ã§ã³ãã³ããããã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>bool<function>ingres_commit</function></funcdef> @@ -881,10 +890,10 @@ <refentry id="function.ingres-autocommit"> <refnamediv> <refname>ingres_autocommit</refname> - <refpurpose>Switch autocommit on or off.</refpurpose> + <refpurpose>autocommit ã ãªã³ã¾ãã¯ãªãã«åæ¿ãã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>bool<function>ingres_autocommit</function></funcdef> Index: phpdoc/ja/functions/var.xml diff -u phpdoc/ja/functions/var.xml:1.20 phpdoc/ja/functions/var.xml:1.21 --- phpdoc/ja/functions/var.xml:1.20 Sun Nov 5 07:01:27 2000 +++ phpdoc/ja/functions/var.xml Sun Nov 26 04:47:20 2000 @@ -182,7 +182,7 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int <function>is_array</function></funcdef> + <funcdef>bool <function>is_array</function></funcdef> <paramdef>mixed <parameter>var</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -214,12 +214,8 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int - <function>is_bool</function> - </funcdef> - <paramdef>mixed - <parameter>var</parameter> - </paramdef> + <funcdef>bool <function>is_bool</function></funcdef> + <paramdef>mixed <parameter>var</parameter></paramdef> </funcprototype> </funcsynopsis> <para> @@ -245,7 +241,7 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int <function>is_double</function></funcdef> + <funcdef>bool <function>is_double</function></funcdef> <paramdef>mixed <parameter>var</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -276,7 +272,7 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int <function>is_float</function></funcdef> + <funcdef>bool <function>is_float</function></funcdef> <paramdef>mixed <parameter>var</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -306,7 +302,7 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int <function>is_int</function></funcdef> + <funcdef>bool <function>is_int</function></funcdef> <paramdef>mixed <parameter>var</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -336,7 +332,7 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int <function>is_integer</function></funcdef> + <funcdef>bool <function>is_integer</function></funcdef> <paramdef>mixed <parameter>var</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -366,7 +362,7 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int <function>is_long</function></funcdef> + <funcdef>bool <function>is_long</function></funcdef> <paramdef>mixed <parameter>var</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -397,12 +393,11 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int <function>is_numeric</function></funcdef> + <funcdef>bool <function>is_numeric</function></funcdef> <paramdef>mixed <parameter>var</parameter></paramdef> </funcprototype> </funcsynopsis> <para> - <parameter>var</parameter>ãæ°å¤ã¾ãã¯æ°å¤æååã§ããå ´åã« trueããã®ä»ã®å ´åã«falseãè¿ãã¾ãã </para> @@ -429,7 +424,7 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int <function>is_object</function></funcdef> + <funcdef>bool <function>is_object</function></funcdef> <paramdef>mixed <parameter>var</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -460,7 +455,7 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int <function>is_real</function></funcdef> + <funcdef>bool <function>is_real</function></funcdef> <paramdef>mixed <parameter>var</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -492,22 +487,18 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int - <function>is_resource</function> - </funcdef> - <paramdef>mixed - <parameter>var</parameter> - </paramdef> + <funcdef>bool <function>is_resource</function></funcdef> + <paramdef>mixed <parameter>var</parameter></paramdef> </funcprototype> </funcsynopsis> <para> - <function>is_resource</function>ã¯ãã©ã¡ã¼ã¿<parameter>var</parameter> - ã§æå®ãã夿°ããªã½ã¼ã¹ã®å ´åã«trueãè¿ãããã®ä»ã®å ´åã«falseã - è¿ãã¾ãã + <function>is_resource</function>ã¯ãã©ã¡ã¼ã¿ + <parameter>var</parameter>ã§æå®ãã夿°ããªã½ã¼ã¹ã®å ´åã«trueã + è¿ãããã®ä»ã®å ´åã«falseãè¿ãã¾ãã </para> <para> ãªã½ã¼ã¹ã¨ã¯ãã¡ã¤ã«ããã¼ã¿ãã¼ã¹çµæãã³ãã«çãæå³ãã - PHPå é¨é¢æ°ã«ãã確ä¿ãéæ¾ãè¡ããã¾ãããããã®ãªã½ã¼ã¹ã«é¢ãf + PHPå é¨é¢æ°ã«ãã確ä¿ãéæ¾ãè¡ããã¾ãããããã®ãªã½ã¼ã¹ã«é¢ã㦠使ç¨çµäºå¾ã§ãã¤ã¦ã¼ã¶ã®ã³ã¼ãã«ããéæ¾ãè¡ããã¦ããªãå ´åã«ã ä½ããã®ã¯ãªã¼ã³ã¢ãããå¿ è¦ã¨ãªãå¯è½æ§ãããã¾ãã </para> @@ -523,7 +514,7 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int <function>is_string</function></funcdef> + <funcdef>bool <function>is_string</function></funcdef> <paramdef>mixed <parameter>var</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -648,7 +639,7 @@ <parameter>type</parameter> ã«ã»ãããã¾ãã </para> <para> - <parameter>type</parameter> ã®å¤ã¯ä»ä¸ã®ããããã§ãã + <parameter>type</parameter> ã®å¤ã¯ä»¤Øã®ããããã§ãã <itemizedlist> <listitem><simpara>"integer"</simpara></listitem> Index: phpdoc/ja/functions/xslt.xml diff -u phpdoc/ja/functions/xslt.xml:1.2 phpdoc/ja/functions/xslt.xml:1.3 --- phpdoc/ja/functions/xslt.xml:1.2 Mon Nov 13 13:41:00 2000 +++ phpdoc/ja/functions/xslt.xml Sun Nov 26 04:47:20 2000 @@ -28,9 +28,8 @@ </para> <para> UNIXã§ã¯ããªãã·ã§ã³ <option - role="configure">--with-sablot</option> 㨠<option - role="configure">--enable-sablot-errors-descriptive</option>ãæ - å®ã㦠<command>configure</command> ãå®è¡ãã¾ããã©ã¤ãã©ãª + role="configure">--with-sablot</option> ãæå®ã㦠+ <command>configure</command> ãå®è¡ãã¾ããã©ã¤ãã©ãª <productname>Sablotron</productname> ãã³ã³ãã¤ã©ãè¦ä»ãããã å ´æã«ã¤ã³ã¹ãã¼ã«ããå¿ è¦ãããã¾ãã </para> @@ -227,20 +226,53 @@ <refentry id="function.xslt-output-begintransform"> <refnamediv> <refname>xslt_output_begintransform</refname> - <refpurpose>unknown</refpurpose> + <refpurpose>åºåã® XSLT 夿ãéå§ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>unknown <function>xslt_output_begintransform</function></funcdef> - <paramdef> - <parameter>unknown</parameter> - </paramdef> + <funcdef>void + <function>xslt_output_begintransform</function> + </funcdef> + <paramdef> + <parameter>string xslt_filename</parameter> + </paramdef> </funcprototype> </funcsynopsis> <para> - ãã®é¢æ°ã«ã¯ããããã¿ã¤ããããã¾ããã + ãã®é¢æ°ã¯ããã¼ã¿åºåã®å¤æãéå§ãã¾ãã + <function>xslt_output_begintransform</function> ãã³ã¼ã«ããå ´æ + ããã<function>xslt_output_endtransform</function> ãã³ã¼ã«ãã + å ´æã¾ã§ãæåã®å¼æ°ã§æå®ããXSLTã¹ã¿ã¤ã«ã·ã¼ãã«ããå ¨ã¦ã®åºå + ã¯å¤æããã¾ãã + </para> + <para> + <example> + <title> + XSLTã¹ã¿ã¤ã«ã·ã¼ãã«ããåºåã®å¤æãxml çæç¨ã«DOM-XML颿°ã使 + ç¨ãã + </title> + <programlisting role="php"> +<?php + +$xsl_file = "article.xsl"; +xslt_output_begintransform($xsl_file); + +$doc = new_xmldoc('1.0'); +$article = $doc->new_root('article'); + +$article->new_child('title', 'The History of South Tyrol'); +$article->new_child('author', 'Sterling Hughes'); +$article->new_child('body', 'Back after WWI, Italy gained South Tyrol from + Austria. Since that point nothing interesting has + happened'); + +echo $doc->dumpmem(); + +xslt_output_endtransform(); + </programlisting> + </example> </para> </refsect1> </refentry> @@ -248,41 +280,122 @@ <refentry id="function.xslt-output-endtransform"> <refnamediv> <refname>xslt_output_endtransform</refname> - <refpurpose>unknown</refpurpose> + <refpurpose> + xslt_output_begintransformã§éå§ããåºåã®å¤æãçµäºãã + </refpurpose> </refnamediv> <refsect1> <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>unknown <function>xslt_output_endtransform</function></funcdef> - <paramdef> - <parameter>unknown</parameter> - </paramdef> + <funcdef>void + <function>xslt_output_endtransform</function> + </funcdef> + <void/> </funcprototype> </funcsynopsis> <para> - ãã®é¢æ°ã«ã¯ããããã¿ã¤ããããã¾ããã + <function>xslt_output_endtransform</function> ã¯ã + <function>xslt_output_begintransform</function> 颿°ã§éå§ããåºåã®å¤æã + çµäºãã¾ããåºåã®å¤æã®çµæãè¦ãããã«ã¯ããã®é¢æ°ãã³ã¼ã«ãã + å¿ è¦ãããã¾ãã </para> </refsect1> </refentry> <refentry id="function.xslt-process"> <refnamediv> - <refname>xslt_output_process</refname> - <refpurpose>unknown</refpurpose> + <refname>xslt_process</refname> + <refpurpose>XSLãã¼ã¿ãæããæååã«ããXMLãã¼ã¿ã夿ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>unknown <function>xslt_process</function></funcdef> - <paramdef> - <parameter>unknown</parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - ãã®é¢æ°ã«ã¯ããããã¿ã¤ããããã¾ããã + <funcdef>bool + <function>xslt_process</function> + </funcdef> + <paramdef> + <parameter>string xsl_data</parameter> + <parameter>string xml_data</parameter> + <parameter>string result</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <function>xslt_process</function> ã¯ãXSLT ã¹ã¿ã¤ã«ã·ã¼ããæãã + æååãæåã®å¼æ°ã夿ãããXMLãã¼ã¿ãæããæååã2çªç®ã®å¼ + æ°ãå¤æçµæãæããæååã3çªç®ã®å¼æ°ã¨ãã¾ãã + <function>xslt_process</function> ã¯ãæåæã« trueã失ææã« + false ãè¿ãã¾ããã¨ã©ã¼ãçºçããå ´åã«ã¨ã©ã¼çªå·ã¨ã¨ã©ã¼æåå + ãå¾ãã«ã¯ã颿° <function>xslt_errno</function> ããã³ + <function>xslt_error</function> ã使ç¨ãã¦ä¸ããã + </para> + <para> + <example> + <title> + 3ã¤ã®æååã夿ããããã« <function>xslt_process</function> + ã使ç¨ãã + </title> + <programlisting role="php"> +<?php + +$xslData = ' +<xsl:stylesheet + version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + +<xsl:template match="article"> + <table border="1" cellpadding="2" cellspacing="1"> + <tr> + <td width="20%"> + + </title> + <td width="80%"> + <h2><xsl:value-of select="title"></h2> + <h3><xsl:value-of select="author"></h3> + <br> + + <xsl:value-of select="body"> + </td> + </tr> + </table> +</xsl:template> + +</xsl:stylesheet>'; + +$xmlData = ' +<?xml version="1.0"?> +<article> + <title>Learning German</title> + <author>Sterling Hughes</author> + <body> + Essential phrases: + <br> + <br> + Komme sie mir sagen, woe die toilette es?<br> + Eine grande beer bitte!<br> + Noch einem bitte.<br> + </body> +</article>'; + +if (xslt_process($xslData, $xmlData, $result)) +{ + echo "Here is the brilliant in-depth article on learning" + echo " German: "; + echo "<br>\n<br>"; + echo $result; +} +else +{ + echo "There was an error that occurred in the XSL transformation...\n"; + echo "\tError number: " . xslt_errno() . "\n"; + echo "\tError string: " . xslt_error() . "\n"; + exit; +} +?> + </programlisting> + </example> </para> </refsect1> </refentry> @@ -341,20 +454,28 @@ <refentry id="function.xslt-transform"> <refnamediv> <refname>xslt_transform</refname> - <refpurpose>unknown</refpurpose> + <refpurpose>XSLT 夿ãå®è¡ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>unknown <function>xslt_transform</function></funcdef> - <paramdef> - <parameter>unknown</parameter> + <funcdef>bool + <function>xslt_transform</function> + </funcdef> + <paramdef> + <parameter>string xsl</parameter> + <parameter>string xml</parameter> + <parameter>string result</parameter> + <parameter>string params</parameter> + <parameter>string args</parameter> + <parameter>string resultBuffer</parameter> </paramdef> </funcprototype> </funcsynopsis> <para> - ãã®é¢æ°ã«ã¯ããããã¿ã¤ããããã¾ããã + <function>xslt_transform</function> ã¯ããªã½ã¼ã¹APIã使ç¨ããã㨠+ ãªããSablotron ã®ããé«åº¦ãªæ©è½ã¸ã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ãæä¾ãã¾ãã </para> </refsect1> </refentry>
Index: phpdoc/ja/Translators diff -u phpdoc/ja/Translators:1.14 phpdoc/ja/Translators:1.15 --- phpdoc/ja/Translators:1.14 Mon Nov 13 13:41:00 2000 +++ phpdoc/ja/Translators Sun Nov 26 04:47:14 2000 @@ -60,6 +60,7 @@ functions/image.xml Chihiro Higuchi functions/imap.xml Michihide Hotta functions/info.xml Michihide Hotta +functions/ingres_ii.xml Rui Hirokawa functions/mail.xml Rui Hirokawa functions/math.xml Machino Satoshi functions/mcal.xml Rui Hirokawa Index: phpdoc/ja/functions/errorfunc.xml diff -u phpdoc/ja/functions/errorfunc.xml:1.3 phpdoc/ja/functions/errorfunc.xml:1.4 --- phpdoc/ja/functions/errorfunc.xml:1.3 Sun Nov 19 15:00:22 2000 +++ phpdoc/ja/functions/errorfunc.xml Sun Nov 26 04:47:14 2000 @@ -445,7 +445,7 @@ <para> ã¦ã¼ã¶ãã³ãã©é¢æ°ã¯ãè¦ããã° <function>die</function> ãã³ã¼ã« ãã責任ããããã¨ã«ã注æãè¦ãã¾ããã¨ã©ã¼ãã³ãã©é¢æ°ããªã¿ã¼ - ã³ããå ´åãã¹ã¯ªããã®å®è¡ã¯ãã¨ã©ã¼ãçºçããå½ä»¤ã®æ¬¡ã®å½ä»¤ã« + ã³ããå ´åãã¹ã¯ªããã®å®è¡ã¯ãã¨ã©ã¼ãçºçããå½ä»¤ã®æ¬¡ã®å½ä»¤ã« ç¶ç¶ããã¾ãã </para> <para> @@ -478,11 +478,15 @@ <para> ã¦ã¼ã¶ã¨ã©ã¼ãçºçããããã«ä½¿ç¨ãããçµè¾¼ã®ã¨ã©ã¼ãã³ãã©ã¾ã㯠æ°ããã¨ã©ã¼ãã³ãã©(<function>set_error_handler</function>)ã¨ã - ã¦è¨å®æ¸ã®ã¦ã¼ã¶å®ç¾©é¢æ°ã¨çµã¿åããã¦ä½¿ç¨ããã¾ãããã®é¢æ°ã¯ã - å®è¡æã®ä¾å¤ã«ç¹å®ã®å¿çãçæããå¿ è¦ãããå ´åã«æç¨ã§ãã - 以ä¸ã«ä¾ã示ãã¾ãã + ã¦è¨å®æ¸ã®ã¦ã¼ã¶å®ç¾©é¢æ°ã¨çµã¿åããã¦ä½¿ç¨ããã¾ããã¨ã©ã¼åã«ã¯ + E_USER é¢é£ã®å®æ°ã®ã¿ã使ç¨å¯è½ã§ãããã©ã«ã㯠+ <constant>E_USER_NOTICE</constant>ã¨ãªã£ã¦ãã¾ãã + </para> + <para> + ãã®é¢æ°ã¯ãå®è¡æã®ä¾å¤ã«ç¹å®ã®å¿çãçæããå¿ è¦ãããå ´åã«æ + ç¨ã§ãã以ä¸ã«ä¾ã示ãã¾ãã <informalexample> - <programlisting> + <programlisting role="php"> if (assert($divisor == 0)) trigger_error("Cannot divide by zero", E_USER_ERROR); </programlisting> Index: phpdoc/ja/functions/funchand.xml diff -u phpdoc/ja/functions/funchand.xml:1.1 phpdoc/ja/functions/funchand.xml:1.2 --- phpdoc/ja/functions/funchand.xml:1.1 Sat Sep 9 22:15:50 2000 +++ phpdoc/ja/functions/funchand.xml Sun Nov 26 04:47:20 2000 @@ -359,10 +359,23 @@ <paramdef>string <parameter>function_name</parameter></paramdef> </funcprototype> </funcsynopsis> - <simpara> - <parameter>function_name</parameter> ã«ã¤ãã¦å®ç¾©ããã颿°ã®ãªã¹ãã - 確èªãã¾ããæå®ãã颿°åãããå ´åã«trueãä»ã®å ´åã«falseãè¿ãã¾ãã - </simpara> + <para> + <parameter>function_name</parameter> ã«ã¤ãã¦å®ç¾©ããã颿°ã®ãªã¹ + ãã確èªãã¾ããæå®ãã颿°åãããå ´åã«trueãä»ã®å ´åã«falseã + è¿ãã¾ãã + <informalexample> + <programlisting role="php"> +if (function_exists('imap_open')) { + echo "IMAP 颿°ãå©ç¨å¯è½ã§ãã<br>\n"; +} else { + echo "IMAP 颿°ã¯å©ç¨ã§ãã¾ããã<br>\n"; +} + </programlisting> + </informalexample> + </para> + <para> + <function>method_exists</function> ãåç §ä¸ããã + </para> </refsect1> </refentry> Index: phpdoc/ja/functions/ingres_ii.xml diff -u phpdoc/ja/functions/ingres_ii.xml:1.1 phpdoc/ja/functions/ingres_ii.xml:1.2 --- phpdoc/ja/functions/ingres_ii.xml:1.1 Mon Nov 20 13:08:39 2000 +++ phpdoc/ja/functions/ingres_ii.xml Sun Nov 26 04:47:20 2000 @@ -1,37 +1,39 @@ <reference id="ref.ingres"> - <title>Ingres II functions</title> + <title>Ingres II 颿°</title> <titleabbrev>Ingres II</titleabbrev> <partintro> <simpara> - These functions allow you to access Ingres II database servers. + ãããã®é¢æ°ã«ãããIngres II ãã¼ã¿ãã¼ã¹ãµã¼ãã«ã¢ã¯ã»ã¹ã§ããã + ãã«ãªãã¾ãã </simpara> <simpara> - In order to have these functions available, you must compile php - with Ingres support by using the - <option role="configure">--with-ingres</option> option. - You need the Open API library and header files included with - Ingres II. If the II_SYSTEM environment variable isn't correctly - set you may have to use - <option role="configure">--with-ingres=DIR</option> - to specify your Ingres installation directory. + ãããã®é¢æ°ãå©ç¨å¯è½ã¨ããã«ã¯ããªãã·ã§ã³ + <option role="configure">--with-ingres</option> ãä»ã㦠Ingres ãµ + ãã¼ããæå¹ã«ãã¦PHPãã³ã³ãã¤ã«ããå¿ è¦ãããã¾ããã³ã³ãã¤ã«ã« + ã¯ãIngres II ã«å«ã¾ãã Open API ã©ã¤ãã©ãªã¨ããããå¿ è¦ã§ãã + ç°å¢å¤æ° II_SYSTEM ãæ£ç¢ºã«è¨å®ããã¦ããªãå ´åãIngres ãã¤ã³ã¹ãã¼ + ã«ããããã£ã¬ã¯ããªãæå®ããããã« + <option role="configure">--with-ingres=DIR</option> ã使ç¨ããå¿ è¦ + ãããããããã¾ããã </simpara> <simpara> - When using this extension with Apache, if Apache does not start - and complains with "PHP Fatal error: Unable to start - ingres_ii module in Unknown on line 0" - then make sure the environement variable II_SYSTEM is correctly - set. Adding "export II_SYSTEM="/home/ingres/II" in the script - that starts Apache, just before launching httpd, should be fine. + ãã®æ¡å¼µã¢ã¸ã¥ã¼ã«ã Apache ã§ä½¿ç¨ããéã« Apache ãèµ·åããã + "PHP Fatal error: Unable to start + ingres_ii module in Unknown on line 0" ã¨ããã¨ã©ã¼ãçºçããå ´åã + ç°å¢å¤æ° II_SYSTEM ãæ£ç¢ºã«è¨å®ããã¦ãããã©ããã確èªãã¦ä¸ããã + "export II_SYSTEM="/home/ingres/II" ã Apache ãéå§ããã¹ã¯ãªãã + ã«è¿½å ãã¦ä¸ããããã®å¾ãhttpd ãèµ·åããã°ããã¾ãããã¯ãã§ãã </simpara> <note> <para> - If you already used PHP extensions to access other database servers, - note that Ingres doesn't allow concurrent queries and/or transaction - over one connection, thus you won't find any result or transaction - handle in this extension. The result of a query must be treated - before sending another query, and a transaction must be commited or - rolled back before opening another transaction (which is automaticaly - done when sending the first query). + ä»ã®ãã¼ã¿ãã¼ã¹ãµã¼ãã«ã¢ã¯ã»ã¹ããããã«æ¢ã«PHP æ¡å¼µã¢ã¸ã¥ã¼ã« + ã使ç¨ãã¦ããå ´åãIngres ã¯åä¸ã®ã³ãã¯ã·ã§ã³ã«ã¤ãã¦è¤æ°ã®ã¯ã¨ + ãªããã©ã³ã¶ã¯ã·ã§ã³ã®ä¸¦åå®è¡ãã§ããªããã¤ã¾ãããã®æ¡å¼µã¢ã¸ã¥ã¼ + ã«ã«ããã¦çµæããã³ãã©ã³ã¶ã¯ã·ã§ã³ã®ãã³ãã«ãå¾ããã¨ãã§ããªã + ãã¨ã«æ³¨æããå¿ è¦ãããã¾ããã¯ã¨ãªã®çµæã¯ãå¥ã®ã¯ã¨ãªãéä¿¡ã + ãåã«å¦çããå¿ è¦ãããããã©ã³ã¶ã¯ã·ã§ã³ã¯å¥ã®ãã©ã³ã¶ã¯ã·ã§ã³ + ããªã¼ãã³ããåã«ã³ãããã¾ãã¯ãã¼ã«ããã¯ããå¿ è¦ãããã¾ãã + (ããã¯ãæåã®ã¯ã¨ãªãéä¿¡ããéã«èªåçã«è¡ããã¾ã) </para> </note> </partintro> @@ -39,10 +41,10 @@ <refentry id="function.ingres-connect"> <refnamediv> <refname>ingres_connect</refname> - <refpurpose>Open a connection to an Ingres II database.</refpurpose> + <refpurpose>Ingres II ãã¼ã¿ãã¼ã¹ã¸ã®æ¥ç¶ããªã¼ãã³ãã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>resource <function>ingres_connect</function></funcdef> @@ -58,55 +60,59 @@ </funcprototype> </funcsynopsis> <para> - Returns a Ingres II link resource on success, or false on failure. + æåæã« Ingres II ãªã³ã¯ãªã½ã¼ã¹ã失æããéã« false ãè¿ãã¾ãã </para> <para> - <function>ingres_connect</function> opens a connection with the - Ingres database designated by <parameter>database</parameter>, which - follows the syntax <parameter>[node_id::]dbname[/svr_class]</parameter>. + <function>ingres_connect</function> ã¯ã + <parameter>database</parameter> ã¨ãã®å¾ã«ç¶ã + <parameter>[node_id::]dbname[/svr_class]</parameter> æ§æã«ããæ + å®ããã Ingres ãã¼ã¿ãã¼ã¹ã¸ã®æ¥ç¶ããªã¼ãã³ãã¾ãã </para> <para> - If some parameters are missing, <function>ingres_connect</function> - uses the values in <filename>php.ini</filename> for - <parameter>ingres.default_database</parameter>, - <parameter>ingres.default_user</parameter> and - <parameter>ingres.default_password</parameter>. + ããã¤ãã®ãã©ã¡ã¼ã¿ãæ¬ ãã¦ããå ´åã + <function>ingres_connect</function> ã¯ã + <parameter>ingres.default_database</parameter>ã + <parameter>ingres.default_user</parameter>ã + <parameter>ingres.default_password</parameter> ã«é¢ã㦠+ <filename>php.ini</filename> ã®å¤ã使ç¨ãã¾ãã </para> <para> - The connection is closed when the script ends or when - <function>ingres_close</function> is called on this link. + æ¥ç¶ã¯ãã¹ã¯ãªããã®å®è¡çµäºæã¾ãã¯ããã®ãªã³ã¯ã«ã¤ã㦠+ <function>ingres_close</function> ãã³ã¼ã«ãããå ´åã«ã¯ãã¼ãºã + ãã¾ãã </para> <para> - All the other ingres functions use the last opened link as a - default, so you need to store the returned value only if you use - more than one link at a time. + ä»ã®å ¨ã¦ã® Ingres 颿°ã¯ãããã©ã«ãã§ç´è¿ã«ãªã¼ãã³ããããªã³ã¯ + ã使ç¨ãã¾ãããã®ãããè¤æ°ã®ãªã³ã¯ãåæã«ä½¿ç¨ãããå ´åã«ã¯ã + è¿ãããå¤ãä¿åãã¦ããå¿ è¦ãããã¾ãã </para> <example> - <title><function>ingres_connect</function> example</title> - <programlisting> + <title><function>ingres_connect</function> ã®ä¾</title> + <programlisting role="php"> <?php $link = ingres_connect ("mydb", "user", "pass") - or die ("Could not connect"); - print ("Connected successfully"); + or die ("æ¥ç¶ã§ãã¾ãã"); + print ("æ¥ç¶ã«æåãã¾ãã"); ingres_close ($link); ?> </programlisting> </example> <example> - <title><function>ingres_connect</function> example - using default link</title> - <programlisting> + <title> + ããã©ã«ããªã³ã¯ã使ç¨ãã<function>ingres_connect</function>ã®ä¾ + </title> + <programlisting role="php"> <?php ingres_connect ("mydb", "user", "pass") - or die ("Could not connect"); - print ("Connected successfully"); + or die ("æ¥ç¶ã§ãã¾ãã"); + print ("æ¥ç¶ã«æåãã¾ãã"); ingres_close (); ?> </programlisting> </example> - <para> See also - <function>ingres_pconnect</function>, and - <function>ingres_close</function>. + <para> + <function>ingres_pconnect</function> ããã³ + <function>ingres_close</function>ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -115,11 +121,11 @@ <refnamediv> <refname>ingres_pconnect</refname> <refpurpose> - Open a persistent connection to an Ingres II database. + Ingres II ãã¼ã¿ãã¼ã¹ã¸ã®æç¶çæ¥ç¶ããªã¼ãã³ãã </refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>resource <function>ingres_pconnect</function></funcdef> @@ -135,26 +141,26 @@ </funcprototype> </funcsynopsis> <para> - Returns a Ingres II link resource on success, or false on failure. + æåããéã« Ingres II ãªã³ã¯ãªã½ã¼ã¹ã失æããéã« false ãè¿ã + ã¾ãã </para> <para> - See <function>ingres_connect</function> for parameters details and - examples. There are only 2 differences between - <function>ingres_pconnect</function> and - <function>ingres_connect</function> : - First, when connecting, the function will first try to find a - (persistent) link that's already opened with the same parameters. - If one is found, an identifier for it will be returned instead of - opening a new connection. Second, the connection to the Ingres - server will not be closed when the execution of the script ends. - Instead, the link will remain open for future use - (<function>ingres_close</function> will not close links established - by <function>ingres_pconnect</function>). This type of link is - therefore called 'persistent'. - </para> - <para> See also - <function>ingres_connect</function>, and - <function>ingres_close</function>. + ãã©ã¡ã¼ã¿ã®è©³ç´°ã¨ä¾ã«ã¤ãã¦ã¯ã + <function>ingres_connect</function> ãåç §ä¸ããã + <function>ingres_pconnect</function> 㨠+ <function>ingres_connect</function> ã®éãã¯æ¬¡ã®2ã¤ã ãã§ãã + ã¾ããæ¥ç¶æã«ãã®é¢æ°ã¯ãã¾ãåããã©ã¡ã¼ã¿æ¢ã«ãªã¼ãã³ãã㦠+ ãã(æç¶çãª)ãªã³ã¯ãæ¢ããã¨ã§ãã第2ã«ãIngres ãµã¼ãã¸ã®æ¥ç¶ + ã¯ã¹ã¯ãªããã®å®è¡çµäºæã«ãã¯ãã¼ãºãããªãã¨ããã§ãã代ããã«ã + ãªã³ã¯ã¯ãå¾ã§ä½¿ç¨ããããã«ãªã¼ãã³ãããã¾ã¾ã¨ãªãã¾ãã + (<function>ingres_close</function> ã¯ã + <function>ingres_pconnect</function>ã«ãã確ç«ããããªã³ã¯ãã¯ãã¼ + ãºãã¾ãã) ãã®ããããã®åã®ãªã³ã¯ã¯ãæç¶ç(persistent)ãã§ã + ãã¨å¼ã°ãã¾ãã + </para> + <para> + <function>ingres_connect</function> ããã³ + <function>ingres_close</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -162,10 +168,10 @@ <refentry id="function.ingres-close"> <refnamediv> <refname>ingres_close</refname> - <refpurpose>Close an Ingres II database connection</refpurpose> + <refpurpose>Ingres II ãã¼ã¿ãã¼ã¹æ¥ç¶ãéãã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>bool<function>ingres_close</function></funcdef> @@ -175,22 +181,22 @@ </funcprototype> </funcsynopsis> <para> - Returns true on success, or false on failure. + æåæã«trueã失ææã«falseãè¿ãã¾ãã </para> <para> - <function>ingres_close</function> closes the connection to - the Ingres server that's associated with the specified link. - If the <parameter>link</parameter> parameter isn't - specified, the last opened link is used. + <function>ingres_close</function> ã¯ãæå®ãããªã³ã¯ãæã Ingres + ãµã¼ãã¸ã®æ¥ç¶ãã¯ãã¼ãºãã¾ãããã©ã¡ã¼ã¿ + <parameter>link</parameter>ãæå®ãããªãå ´åãç´è¿ã«ãªã¼ãã³ãã + ããªã³ã¯ã使ç¨ããã¾ãã </para> <para> - <function>ingres_close</function> isn't usually necessary, as it - won't close persistent connections and all non-persistent connections - are automatically closed at the end of the script. + æç¶çæ¥ç¶ãã¯ãã¼ãºãããã¨ã¯ã§ãããæç¶çã§ãªãæ¥ç¶ã¯ã¹ã¯ãªã + ãã®çµäºæã«èªåçã«ã¯ãã¼ãºãããããã + <function>ingres_close</function> ã¯é常ã¯ä¸è¦ã§ãã </para> - <para> See also - <function>ingres_connect</function>, and - <function>ingres_pconnect</function>. + <para> + <function>ingres_connect</function> ããã³ + <function>ingres_pconnect</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -198,10 +204,10 @@ <refentry id="function.ingres-query"> <refnamediv> <refname>ingres_query</refname> - <refpurpose>Send a SQL query to Ingres II</refpurpose> + <refpurpose>Ingres II ã«SQLã¯ã¨ãªãéä¿¡ãã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>bool<function>ingres_query</function></funcdef> @@ -214,60 +220,64 @@ </funcprototype> </funcsynopsis> <para> - Returns true on success, or false on failure. + æåæã«trueã失ææã«falseãè¿ãã¾ãã </para> <para> - <function>ingres_query</function> sends the given - <parameter>query</parameter> to the Ingres server. This query - must be a valid SQL query (see the Ingres SQL reference guide) + <function>ingres_query</function> ã¯ãæå®ãã + <parameter>query</parameter> ã Ingres ãµã¼ãã«éä¿¡ãã¾ãããã®ã¯ + ã¨ãªã¯ãæå¹ãªSQLã¯ã¨ãªã§ããå¿ è¦ãããã¾ãã(Ingres SQL ãªãã¡ã¬ + ã³ã¹ã¬ã¤ããåç §ä¸ãã) + </para> + <para> + ã¯ã¨ãªã¯ãç¾å¨ãªã¼ãã³ããã¦ãããã©ã³ã¶ã¯ã·ã§ã³ã®ä¸é¨ã¨ãªãã¾ãã + ãªã¼ãã³ããã¦ãããã©ã³ã¶ã¯ã·ã§ã³ããªãå ´åã + <function>ingres_query</function> ã¯æ°è¦ã®ãã©ã³ã¶ã¯ã·ã§ã³ããªã¼ + ãã³ãã¾ãããã©ã³ã¶ã¯ã·ã§ã³ãã¯ãã¼ãºããã«ã¯ããã¼ã¿ãã¼ã¹ã¸ã® + 夿´ãã³ãããããå ´åã« <function>ingres_commit</function> ãã + ãããã®å¤æ´ããã£ã³ã»ã«ããå ´åã« + <function>ingres_rollback</function> ã®ã©ã¡ããã使ç¨ãããã¨ãå¯ + è½ã§ããã¹ã¯ãªããçµäºæã«ãå ¨ã¦ã®ãªã¼ãã³ããããã©ã³ã¶ã¯ã·ã§ã³ + ã¯(<function>ingres_rollback</function>ãã³ã¼ã«ãããã¨ã«ãã) + ãã¼ã«ããã¯ããã¾ããæ°è¦ãã©ã³ã¶ã¯ã·ã§ã³ããªã¼ãã³ããåã« + <function>ingres_autocommit</function> ã使ç¨ãããã¨ãå¯è½ã§ãã + ãã®å ´åãåSQLã¯ã¨ãªã¯ç´ã¡ã«ã³ãããããã¾ãã </para> <para> - The query becomes part of the currently open transaction. - If there is no open transaction, <function>ingres_query</function> - opens a new transaction. To close the transaction, you can either - call <function>ingres_commit</function> to commit the changes made - to the database or <function>ingres_rollback</function> to cancel these - changes. When the script ends, any open transaction is rolled back - (by calling <function>ingres_rollback</function>). You can also - use <function>ingres_autocommit</function> before opening a new - transaction to have every SQL query immediatly commited. - </para> - <para> - Some types of SQL queries can't be sent with this function : + 次ã®åã®SQLã¯ã¨ãªã¯ããã®é¢æ°ã§éä¿¡ã§ãã¾ããã <itemizedlist> <listitem> - <simpara>close (see <function>ingres_close</function>).</simpara> + <simpara>close (<function>ingres_close</function>ãåç §)</simpara> </listitem> <listitem> - <simpara>commit (see <function>ingres_commit</function>).</simpara> + <simpara>commit (<function>ingres_commit</function>ãåç §)</simpara> </listitem> <listitem> - <simpara>connect (see <function>ingres_connect</function>).</simpara> + <simpara>connect (<function>ingres_connect</function>ãåç §)</simpara> </listitem> <listitem> - <simpara>disconnect (see <function>ingres_close</function>).</simpara> + <simpara>disconnect (<function>ingres_close</function>ãåç §)</simpara> </listitem> <listitem><simpara>get dbevent</simpara></listitem> <listitem><simpara>prepare to commit</simpara></listitem> <listitem> <simpara> - rollback (see <function>ingres_rollback</function>). + rollback (<function>ingres_rollback</function>ãåç §) </simpara> </listitem> <listitem><simpara>savepoint</simpara></listitem> <listitem> <simpara> - set autocommit (see <function>ingres_autocommit</function>). + set autocommit (<function>ingres_autocommit</function>ãåç §) </simpara> </listitem> <listitem> - <simpara>all cursor related queries are unsupported</simpara> + <simpara>ã«ã¼ã½ã«ã«é¢ä¿ããã¯ã¨ãªã¯ãµãã¼ãããã¦ãã¾ãã</simpara> </listitem> </itemizedlist> </para> <para> <example> - <title><function>ingres_query</function> example</title> + <title><function>ingres_query</function> ã®ä¾</title> <programlisting role="php"> <?php ingres_connect ($database, $user, $password); @@ -282,13 +292,12 @@ </example> </para> <para> - See also <function>ingres_fetch_array</function>, <function>ingres_fetch_object</function>, <function>ingres_fetch_row</function>, <function>ingres_commit</function>, - <function>ingres_rollback</function> and - <function>ingres_autocommit</function>. + <function>ingres_rollback</function>, + <function>ingres_autocommit</function> ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -297,11 +306,11 @@ <refnamediv> <refname>ingres_num_rows</refname> <refpurpose> - Get the number of rows affected or returned by the last query + ç´è¿ã®ã¯ã¨ãªã§ä½ç¨ãããã¬ã³ã¼ãã®æ°ãåå¾ããè¿ã </refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>int<function>ingres_num_rows</function></funcdef> @@ -349,11 +358,11 @@ <refnamediv> <refname>ingres_num_fields</refname> <refpurpose> - Get the number of fields returned by the last query + ç´è¿ã®ã¯ã¨ãªã«ããè¿ããããã£ã¼ã«ãã®æ°ãå¾ã </refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>int<function>ingres_num_fields</function></funcdef> @@ -380,10 +389,10 @@ <refentry id="function.ingres-field-name"> <refnamediv> <refname>ingres_field_name</refname> - <refpurpose>Get the name of a field in a query result.</refpurpose> + <refpurpose>ã¯ã¨ãªçµæã«ããã¦ãã£ã¼ã«ãåãå¾ã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>string<function>ingres_field_name</function></funcdef> @@ -417,10 +426,10 @@ <refentry id="function.ingres-field-type"> <refnamediv> <refname>ingres_field_type</refname> - <refpurpose>Get the type of a field in a query result.</refpurpose> + <refpurpose>ã¯ã¨ãªçµæã«ããã¦ãã£ã¼ã«ãã®åãå¾ã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>string<function>ingres_field_type</function></funcdef> @@ -461,10 +470,10 @@ <refentry id="function.ingres-field-nullable"> <refnamediv> <refname>ingres_field_nullable</refname> - <refpurpose>Test if a field is nullable.</refpurpose> + <refpurpose>ãã£ã¼ã«ãã«NULLå¤ãè¨å®å¯è½ãã©ãã調ã¹ã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>bool<function>ingres_field_nullable</function></funcdef> @@ -498,10 +507,10 @@ <refentry id="function.ingres-field-length"> <refnamediv> <refname>ingres_field_length</refname> - <refpurpose>Get the length of a field.</refpurpose> + <refpurpose>ãã£ã¼ã«ãé·ãå¾ã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>int<function>ingres_field_length</function></funcdef> @@ -536,10 +545,10 @@ <refentry id="function.ingres-field-precision"> <refnamediv> <refname>ingres_field_precision</refname> - <refpurpose>Get the precision of a field.</refpurpose> + <refpurpose>ãã£ã¼ã«ãã®ç²¾åº¦ãå¾ã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>int<function>ingres_field_precision</function></funcdef> @@ -575,10 +584,10 @@ <refentry id="function.ingres-field-scale"> <refnamediv> <refname>ingres_field_scale</refname> - <refpurpose>Get the scale of a field.</refpurpose> + <refpurpose>ãã£ã¼ã«ãã®ã¹ã±ã¼ã«ãå¾ã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>int<function>ingres_field_scale</function></funcdef> @@ -613,10 +622,10 @@ <refentry id="function.ingres-fetch-array"> <refnamediv> <refname>ingres_fetch_array</refname> - <refpurpose>Fetch a row of result into an array.</refpurpose> + <refpurpose>1è¡åã®çµæãé åã«åå¾ãã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>array<function>ingres_fetch_array</function></funcdef> @@ -664,7 +673,7 @@ </para> <para> <example> - <title><function>ingres_fetch_array</function> example</title> + <title><function>ingres_fetch_array</function> ã®ä¾</title> <programlisting role="php"> <?php ingres_connect ($database, $user, $password); @@ -694,10 +703,10 @@ <refentry id="function.ingres-fetch-row"> <refnamediv> <refname>ingres_fetch_row</refname> - <refpurpose>Fetch a row of result into an enumerated array.</refpurpose> + <refpurpose>1è¡åã®çµæãæ°å¤æ·»åé åã¨ãã¦åå¾ãã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>array<function>ingres_fetch_row</function></funcdef> @@ -745,10 +754,10 @@ <refentry id="function.ingres-fetch-object"> <refnamediv> <refname>ingres_fetch_object</refname> - <refpurpose>Fetch a row of result into an object.</refpurpose> + <refpurpose>1è¡åã®çµæããªãã¸ã§ã¯ãã¨ãã¦åå¾ãã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>object<function>ingres_fetch_object</function></funcdef> @@ -811,10 +820,10 @@ <refentry id="function.ingres-rollback"> <refnamediv> <refname>ingres_rollback</refname> - <refpurpose>Roll back a transaction.</refpurpose> + <refpurpose>ãã©ã³ã¶ã¯ã·ã§ã³ããã¼ã«ããã¯ãã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>bool<function>ingres_rollback</function></funcdef> @@ -844,10 +853,10 @@ <refentry id="function.ingres-commit"> <refnamediv> <refname>ingres_commit</refname> - <refpurpose>Commit a transaction.</refpurpose> + <refpurpose>ãã©ã³ã¶ã¯ã·ã§ã³ãã³ããããã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>bool<function>ingres_commit</function></funcdef> @@ -881,10 +890,10 @@ <refentry id="function.ingres-autocommit"> <refnamediv> <refname>ingres_autocommit</refname> - <refpurpose>Switch autocommit on or off.</refpurpose> + <refpurpose>autocommit ã ãªã³ã¾ãã¯ãªãã«åæ¿ãã</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説æ</title> <funcsynopsis> <funcprototype> <funcdef>bool<function>ingres_autocommit</function></funcdef> Index: phpdoc/ja/functions/var.xml diff -u phpdoc/ja/functions/var.xml:1.20 phpdoc/ja/functions/var.xml:1.21 --- phpdoc/ja/functions/var.xml:1.20 Sun Nov 5 07:01:27 2000 +++ phpdoc/ja/functions/var.xml Sun Nov 26 04:47:20 2000 @@ -182,7 +182,7 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int <function>is_array</function></funcdef> + <funcdef>bool <function>is_array</function></funcdef> <paramdef>mixed <parameter>var</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -214,12 +214,8 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int - <function>is_bool</function> - </funcdef> - <paramdef>mixed - <parameter>var</parameter> - </paramdef> + <funcdef>bool <function>is_bool</function></funcdef> + <paramdef>mixed <parameter>var</parameter></paramdef> </funcprototype> </funcsynopsis> <para> @@ -245,7 +241,7 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int <function>is_double</function></funcdef> + <funcdef>bool <function>is_double</function></funcdef> <paramdef>mixed <parameter>var</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -276,7 +272,7 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int <function>is_float</function></funcdef> + <funcdef>bool <function>is_float</function></funcdef> <paramdef>mixed <parameter>var</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -306,7 +302,7 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int <function>is_int</function></funcdef> + <funcdef>bool <function>is_int</function></funcdef> <paramdef>mixed <parameter>var</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -336,7 +332,7 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int <function>is_integer</function></funcdef> + <funcdef>bool <function>is_integer</function></funcdef> <paramdef>mixed <parameter>var</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -366,7 +362,7 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int <function>is_long</function></funcdef> + <funcdef>bool <function>is_long</function></funcdef> <paramdef>mixed <parameter>var</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -397,12 +393,11 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int <function>is_numeric</function></funcdef> + <funcdef>bool <function>is_numeric</function></funcdef> <paramdef>mixed <parameter>var</parameter></paramdef> </funcprototype> </funcsynopsis> <para> - <parameter>var</parameter>ãæ°å¤ã¾ãã¯æ°å¤æååã§ããå ´åã« trueããã®ä»ã®å ´åã«falseãè¿ãã¾ãã </para> @@ -429,7 +424,7 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int <function>is_object</function></funcdef> + <funcdef>bool <function>is_object</function></funcdef> <paramdef>mixed <parameter>var</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -460,7 +455,7 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int <function>is_real</function></funcdef> + <funcdef>bool <function>is_real</function></funcdef> <paramdef>mixed <parameter>var</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -492,22 +487,18 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int - <function>is_resource</function> - </funcdef> - <paramdef>mixed - <parameter>var</parameter> - </paramdef> + <funcdef>bool <function>is_resource</function></funcdef> + <paramdef>mixed <parameter>var</parameter></paramdef> </funcprototype> </funcsynopsis> <para> - <function>is_resource</function>ã¯ãã©ã¡ã¼ã¿<parameter>var</parameter> - ã§æå®ãã夿°ããªã½ã¼ã¹ã®å ´åã«trueãè¿ãããã®ä»ã®å ´åã«falseã - è¿ãã¾ãã + <function>is_resource</function>ã¯ãã©ã¡ã¼ã¿ + <parameter>var</parameter>ã§æå®ãã夿°ããªã½ã¼ã¹ã®å ´åã«trueã + è¿ãããã®ä»ã®å ´åã«falseãè¿ãã¾ãã </para> <para> ãªã½ã¼ã¹ã¨ã¯ãã¡ã¤ã«ããã¼ã¿ãã¼ã¹çµæãã³ãã«çãæå³ãã - PHPå é¨é¢æ°ã«ãã確ä¿ãéæ¾ãè¡ããã¾ãããããã®ãªã½ã¼ã¹ã«é¢ãf + PHPå é¨é¢æ°ã«ãã確ä¿ãéæ¾ãè¡ããã¾ãããããã®ãªã½ã¼ã¹ã«é¢ã㦠使ç¨çµäºå¾ã§ãã¤ã¦ã¼ã¶ã®ã³ã¼ãã«ããéæ¾ãè¡ããã¦ããªãå ´åã«ã ä½ããã®ã¯ãªã¼ã³ã¢ãããå¿ è¦ã¨ãªãå¯è½æ§ãããã¾ãã </para> @@ -523,7 +514,7 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int <function>is_string</function></funcdef> + <funcdef>bool <function>is_string</function></funcdef> <paramdef>mixed <parameter>var</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -648,7 +639,7 @@ <parameter>type</parameter> ã«ã»ãããã¾ãã </para> <para> - <parameter>type</parameter> ã®å¤ã¯ä»ä¸ã®ããããã§ãã + <parameter>type</parameter> ã®å¤ã¯ä»¤Øã®ããããã§ãã <itemizedlist> <listitem><simpara>"integer"</simpara></listitem> Index: phpdoc/ja/functions/xslt.xml diff -u phpdoc/ja/functions/xslt.xml:1.2 phpdoc/ja/functions/xslt.xml:1.3 --- phpdoc/ja/functions/xslt.xml:1.2 Mon Nov 13 13:41:00 2000 +++ phpdoc/ja/functions/xslt.xml Sun Nov 26 04:47:20 2000 @@ -28,9 +28,8 @@ </para> <para> UNIXã§ã¯ããªãã·ã§ã³ <option - role="configure">--with-sablot</option> 㨠<option - role="configure">--enable-sablot-errors-descriptive</option>ãæ - å®ã㦠<command>configure</command> ãå®è¡ãã¾ããã©ã¤ãã©ãª + role="configure">--with-sablot</option> ãæå®ã㦠+ <command>configure</command> ãå®è¡ãã¾ããã©ã¤ãã©ãª <productname>Sablotron</productname> ãã³ã³ãã¤ã©ãè¦ä»ãããã å ´æã«ã¤ã³ã¹ãã¼ã«ããå¿ è¦ãããã¾ãã </para> @@ -227,20 +226,53 @@ <refentry id="function.xslt-output-begintransform"> <refnamediv> <refname>xslt_output_begintransform</refname> - <refpurpose>unknown</refpurpose> + <refpurpose>åºåã® XSLT 夿ãéå§ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>unknown <function>xslt_output_begintransform</function></funcdef> - <paramdef> - <parameter>unknown</parameter> - </paramdef> + <funcdef>void + <function>xslt_output_begintransform</function> + </funcdef> + <paramdef> + <parameter>string xslt_filename</parameter> + </paramdef> </funcprototype> </funcsynopsis> <para> - ãã®é¢æ°ã«ã¯ããããã¿ã¤ããããã¾ããã + ãã®é¢æ°ã¯ããã¼ã¿åºåã®å¤æãéå§ãã¾ãã + <function>xslt_output_begintransform</function> ãã³ã¼ã«ããå ´æ + ããã<function>xslt_output_endtransform</function> ãã³ã¼ã«ãã + å ´æã¾ã§ãæåã®å¼æ°ã§æå®ããXSLTã¹ã¿ã¤ã«ã·ã¼ãã«ããå ¨ã¦ã®åºå + ã¯å¤æããã¾ãã + </para> + <para> + <example> + <title> + XSLTã¹ã¿ã¤ã«ã·ã¼ãã«ããåºåã®å¤æãxml çæç¨ã«DOM-XML颿°ã使 + ç¨ãã + </title> + <programlisting role="php"> +<?php + +$xsl_file = "article.xsl"; +xslt_output_begintransform($xsl_file); + +$doc = new_xmldoc('1.0'); +$article = $doc->new_root('article'); + +$article->new_child('title', 'The History of South Tyrol'); +$article->new_child('author', 'Sterling Hughes'); +$article->new_child('body', 'Back after WWI, Italy gained South Tyrol from + Austria. Since that point nothing interesting has + happened'); + +echo $doc->dumpmem(); + +xslt_output_endtransform(); + </programlisting> + </example> </para> </refsect1> </refentry> @@ -248,41 +280,122 @@ <refentry id="function.xslt-output-endtransform"> <refnamediv> <refname>xslt_output_endtransform</refname> - <refpurpose>unknown</refpurpose> + <refpurpose> + xslt_output_begintransformã§éå§ããåºåã®å¤æãçµäºãã + </refpurpose> </refnamediv> <refsect1> <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>unknown <function>xslt_output_endtransform</function></funcdef> - <paramdef> - <parameter>unknown</parameter> - </paramdef> + <funcdef>void + <function>xslt_output_endtransform</function> + </funcdef> + <void/> </funcprototype> </funcsynopsis> <para> - ãã®é¢æ°ã«ã¯ããããã¿ã¤ããããã¾ããã + <function>xslt_output_endtransform</function> ã¯ã + <function>xslt_output_begintransform</function> 颿°ã§éå§ããåºåã®å¤æã + çµäºãã¾ããåºåã®å¤æã®çµæãè¦ãããã«ã¯ããã®é¢æ°ãã³ã¼ã«ãã + å¿ è¦ãããã¾ãã </para> </refsect1> </refentry> <refentry id="function.xslt-process"> <refnamediv> - <refname>xslt_output_process</refname> - <refpurpose>unknown</refpurpose> + <refname>xslt_process</refname> + <refpurpose>XSLãã¼ã¿ãæããæååã«ããXMLãã¼ã¿ã夿ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>unknown <function>xslt_process</function></funcdef> - <paramdef> - <parameter>unknown</parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - ãã®é¢æ°ã«ã¯ããããã¿ã¤ããããã¾ããã + <funcdef>bool + <function>xslt_process</function> + </funcdef> + <paramdef> + <parameter>string xsl_data</parameter> + <parameter>string xml_data</parameter> + <parameter>string result</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <function>xslt_process</function> ã¯ãXSLT ã¹ã¿ã¤ã«ã·ã¼ããæãã + æååãæåã®å¼æ°ã夿ãããXMLãã¼ã¿ãæããæååã2çªç®ã®å¼ + æ°ãå¤æçµæãæããæååã3çªç®ã®å¼æ°ã¨ãã¾ãã + <function>xslt_process</function> ã¯ãæåæã« trueã失ææã« + false ãè¿ãã¾ããã¨ã©ã¼ãçºçããå ´åã«ã¨ã©ã¼çªå·ã¨ã¨ã©ã¼æåå + ãå¾ãã«ã¯ã颿° <function>xslt_errno</function> ããã³ + <function>xslt_error</function> ã使ç¨ãã¦ä¸ããã + </para> + <para> + <example> + <title> + 3ã¤ã®æååã夿ããããã« <function>xslt_process</function> + ã使ç¨ãã + </title> + <programlisting role="php"> +<?php + +$xslData = ' +<xsl:stylesheet + version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + +<xsl:template match="article"> + <table border="1" cellpadding="2" cellspacing="1"> + <tr> + <td width="20%"> + + </title> + <td width="80%"> + <h2><xsl:value-of select="title"></h2> + <h3><xsl:value-of select="author"></h3> + <br> + + <xsl:value-of select="body"> + </td> + </tr> + </table> +</xsl:template> + +</xsl:stylesheet>'; + +$xmlData = ' +<?xml version="1.0"?> +<article> + <title>Learning German</title> + <author>Sterling Hughes</author> + <body> + Essential phrases: + <br> + <br> + Komme sie mir sagen, woe die toilette es?<br> + Eine grande beer bitte!<br> + Noch einem bitte.<br> + </body> +</article>'; + +if (xslt_process($xslData, $xmlData, $result)) +{ + echo "Here is the brilliant in-depth article on learning" + echo " German: "; + echo "<br>\n<br>"; + echo $result; +} +else +{ + echo "There was an error that occurred in the XSL transformation...\n"; + echo "\tError number: " . xslt_errno() . "\n"; + echo "\tError string: " . xslt_error() . "\n"; + exit; +} +?> + </programlisting> + </example> </para> </refsect1> </refentry> @@ -341,20 +454,28 @@ <refentry id="function.xslt-transform"> <refnamediv> <refname>xslt_transform</refname> - <refpurpose>unknown</refpurpose> + <refpurpose>XSLT 夿ãå®è¡ãã</refpurpose> </refnamediv> <refsect1> <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>unknown <function>xslt_transform</function></funcdef> - <paramdef> - <parameter>unknown</parameter> + <funcdef>bool + <function>xslt_transform</function> + </funcdef> + <paramdef> + <parameter>string xsl</parameter> + <parameter>string xml</parameter> + <parameter>string result</parameter> + <parameter>string params</parameter> + <parameter>string args</parameter> + <parameter>string resultBuffer</parameter> </paramdef> </funcprototype> </funcsynopsis> <para> - ãã®é¢æ°ã«ã¯ããããã¿ã¤ããããã¾ããã + <function>xslt_transform</function> ã¯ããªã½ã¼ã¹APIã使ç¨ããã㨠+ ãªããSablotron ã®ããé«åº¦ãªæ©è½ã¸ã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ãæä¾ãã¾ãã </para> </refsect1> </refentry>