cvs: phpdoc /en/functions image.xml /ja/functions image.xml math.xml mcal.xml
| From: | Rui Hirokawa | Date: | Mon, 08 Jan 2001 01:39:30 +0000 |
| Subject: | cvs: phpdoc /en/functions image.xml /ja/functions image.xml math.xml mcal.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969333475@lists.php.net to get a copy of this message | ||
hirokawa Sun Jan 7 17:39:30 2001 EDT
Modified files:
/phpdoc/en/functions image.xml
/phpdoc/ja/functions image.xml math.xml mcal.xml
Log:
updated translation and fixed a typo.
Index: phpdoc/en/functions/image.xml diff -u phpdoc/en/functions/image.xml:1.31 phpdoc/en/functions/image.xml:1.32 --- phpdoc/en/functions/image.xml:1.31 Sun Jan 7 14:42:43 2001 +++ phpdoc/en/functions/image.xml Sun Jan 7 17:39:29 2001 @@ -1302,7 +1302,7 @@ </note> </para> <para> - See also <function>ImagePNG</function, <function>ImageGIF</function>, + See also <function>ImagePNG</function>, <function>ImageGIF</function>, <function>ImageJPEG</function>, <function>ImageTypes</function>. </para> </refsect1> Index: phpdoc/ja/functions/image.xml diff -u phpdoc/ja/functions/image.xml:1.19 phpdoc/ja/functions/image.xml:1.20 --- phpdoc/ja/functions/image.xml:1.19 Thu Jan 4 22:29:04 2001 +++ phpdoc/ja/functions/image.xml Sun Jan 7 17:39:30 2001 @@ -788,6 +788,77 @@ </refsect1> </refentry> + <refentry id="function.imagecreatefromwbmp"> + <refnamediv> + <refname>ImageCreateFromWBMP</refname> + <refpurpose> + ãã¡ã¤ã«ã¾ãã¯URLããæ°è¦ã¤ã¡ã¼ã¸ãWindowsããããããå½¢å¼ã®ã¤ã¡ã¼ + ã¸ã使ãã + </refpurpose> + </refnamediv> + <refsect1> + <title>説æ</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>imagecreatefromwbmp</function></funcdef> + <paramdef>string <parameter>filename</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + <function>ImageCreateFromWBMP</function> ã¯ãæå®ãããã¡ã¤ã«åã + ãå¾ãããã¤ã¡ã¼ã¸ã表ãã¤ã¡ã¼ã¸IDãè¿ãã¾ãã + </para> + <para> + <function>ImageCreateFromWBMP</function> ã¯ãã¨ã©ã¼æã«ç©ºã®æåå + ãè¿ãã¾ããã¨ã©ã¼ã¡ãã»ã¼ã¸ãåºåãã¾ãããä¸å¹¸ã«ãã¦ãã©ã¦ã¶ã« + å£ãããªã³ã¯ã¨ãã¦è¡¨ç¤ºããã¦ãã¾ãã¾ãããããã°ã容æã«ãããã + ã«æ¬¡ã®ä¾ã§ã¯ã¨ã©ã¼ã表示ãã <acronym>WBMP</acronym> ã使ãã¦ã + ã¾ãã + <example> + <title> + 使æã®ã¨ã©ã¼ãå¦çããä¾ (vic@zymsys.com ã«ãã) + </title> + <programlisting role="php"> +function LoadWBMP ($imgname) { + $im = @ImageCreateFromWBMP ($imgname); /* ãªã¼ãã³ãã */ + if (!$im) { /* 失æãããã©ããå¤å® */ + $im = ImageCreate (20, 20); /* 空ã®ã¤ã¡ã¼ã¸ã使ãã */ + $bgc = ImageColorAllocate ($im, 255, 255, 255); + $tc = ImageColorAllocate ($im, 0, 0, 0); + ImageFilledRectangle ($im, 0, 0, 10, 10, $bgc); + /* errmsg ãåºåãã */ + ImageString ($im, 1, 5, 5, "Error loading $imgname", $tc); + } + return $im; +} + </programlisting> + </example> + </para> + </refsect1> + </refentry> + + <refentry id="function.imagecreatefromstring"> + <refnamediv> + <refname>ImageCreateFromString</refname> + <refpurpose> + æååã®ä¸ã®ã¤ã¡ã¼ã¸ã¹ããªã¼ã ããæ°è¦ã¤ã¡ã¼ã¸ã使ãã + </refpurpose> + </refnamediv> + <refsect1> + <title>説æ</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>imagecreatefromstring</function></funcdef> + <paramdef>string <parameter>image</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + <function>ImageCreateFromString</function> ã¯ãæå®ããæååãã + å¾ãããã¤ã¡ã¼ã¸ã表ãã¤ã¡ã¼ã¸IDãè¿ãã¾ãã + </para> + </refsect1> + </refentry> + <refentry id="function.imagedashedline"> <refnamediv> <refname>ImageDashedLine</refname> @@ -1034,25 +1105,30 @@ 以ä¸ã®çãã³ã¼ãã«ããå©ç¨å¯è½ãªGDãµãã¼ãã®åãèªåæ¤åºãã æ±ç¨æ§ã®ããPHPã¢ããªã±ã¼ã·ã§ã³ãæ¸ããã¨ãå¯è½ã§ãã <literal>Header("Content-type: - image/gif");ImageGif($im);</literal>ã®é¨åããã®ããæè»æ§ã®ã + image/gif");ImageGIF($im);</literal>ã®é¨åããã®ããæè»æ§ã®ã ãã³ã¼ãã«ç½®æãã¦ä¸ããã <informalexample> <programlisting role="php"> <?php if (function_exists("imagegif")) { Header("Content-type: image/gif"); - ImageGif($im); + ImageGIF($im); } elseif (function_exists("imageJpeg")) { Header("Content-type: image/jpeg"); - ImageJpeg($im, "", 0.5); + ImageJPEG($im, "", 0.5); } elseif (function_exists("imagePng")) { Header("Content-type: image/png"); - ImagePng($im); + ImagePNG($im); + } + elseif (function_exists("imagewbmp")) { + Header("Content-type: image/vnd.wap.wbmp"); + ImageWBMP($im); } - else + else { die("ãã®PHPãµã¼ãã¼ã§ã¯ã¤ã¡ã¼ã¸ã¯ãµãã¼ãããã¦ãã¾ãã"); + } ?> </programlisting> </informalexample> @@ -1078,15 +1154,16 @@ </note> </para> <para> - <function>ImagePng</function>, <function>ImageJpeg</function>, - <function>ImageTypes</function> ãåç §ä¸ããã + <function>ImagePNG</function>, <function>ImageWBMP</function>, + <function>ImageJPEG</function>, <function>ImageTypes</function> + ãåç §ä¸ããã </para> </refsect1> </refentry> <refentry id="function.imagepng"> <refnamediv> - <refname>ImagePng</refname> + <refname>ImagePNG</refname> <refpurpose> PNGã¤ã¡ã¼ã¸ããã©ã¦ã¶ã¾ãã¯ãã¡ã¤ã«ã«åºåãã </refpurpose> @@ -1107,7 +1184,7 @@ </funcprototype> </funcsynopsis> <para> - <function>ImagePng</function>ã¯ãGDã¤ã¡ã¼ã¸ã¹ããªã¼ã + <function>ImagePNG</function>ã¯ãGDã¤ã¡ã¼ã¸ã¹ããªã¼ã (<parameter>im</parameter>)ãPNGãã©ã¼ãããã§æ¨æºåºå(é常ã¯ãã© ã¦ã¶)ã«åºåãã¾ãã<parameter>filename</parameter>ãæå®ããå ´å ã¯ãã®ãã¡ã¤ã«ã«ã¤ã¡ã¼ã¸ãåºåãã¾ãã @@ -1119,8 +1196,9 @@ </informalexample> </para> <para> - <function>ImageGif</function>, <function>ImageJpeg</function>, - <function>ImageTypes</function> ãåç §ä¸ããã + <function>ImageGIF</function>, <function>ImageWBMP</function>, + <function>ImageJPEG</function>, <function>ImageTypes</function> + ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -1169,11 +1247,58 @@ </note> </para> <para> - <function>ImagePng</function>, <function>ImageGif</function>, - <function>ImageTypes</function> ãåç §ä¸ããã + <function>ImagePNG</function>, <function>ImageGIF</function>, + <function>ImageWBMP</function>, <function>ImageTypes</function> + ãåç §ä¸ããã </para> </refsect1> </refentry> + + <refentry id="function.imagewbmp"> + <refnamediv> + <refname>ImageWBMP</refname> + <refpurpose>ãã©ã¦ã¶ã¾ãã¯ãã¡ã¤ã«ã«ã¤ã¡ã¼ã¸ãåºåãã</refpurpose> + </refnamediv> + <refsect1> + <title>説æ</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>imageWBMP</function></funcdef> + <paramdef>int <parameter>im</parameter></paramdef> + <paramdef>string + <parameter> + <replaceable><optional>filename</optional></replaceable> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <function>ImageWBMP</function> ã¯ãã¤ã¡ã¼ã¸ + <parameter>im</parameter>ãã filename ã« + <acronym>WBMP</acronym> ãã¡ã¤ã«ã使ãã¾ãã弿° + <parameter>im</parameter> ã¯ã<function>ImageCreate</function> é¢ + æ°ã®è¿ãå¤ã§ãã + </para> + <para> + 弿° filename ã¯ãªãã·ã§ã³ã§ãããçç¥ãããå ´åã«ã¯ãã¤ã¡ã¼ã¸ã¹ + ããªã¼ã ããã®ã¾ã¾ç´æ¥åºåããã¾ãã<function>header</function> + 颿°ã«ãããcontent-type <acronym>image/vnd.wap.wbmp</acronym> ã + éä¿¡ãããã¨ã«ãããWBMPã¤ã¡ã¼ã¸ãç´æ¥åºåããPHPã¹ã¯ãªããã使 + ãããã¨ãå¯è½ã§ãã + <note> + <para> + WBMP ãµãã¼ãã¯ãPHPãGD-1.8以éã¨çµã¿åããã¦ã³ã³ãã¤ã«ããå ´ + åã«ã®ã¿å©ç¨å¯è½ã§ãã + </para> + </note> + </para> + <para> + <function>ImagePNG</function>, <function>ImageGIF</function>, + <function>ImageJPEG</function>, <function>ImageTypes</function> + ãåç §ä¸ããã + </para> + </refsect1> + </refentry> <refentry id="function.imageinterlace"> <refnamediv> Index: phpdoc/ja/functions/math.xml diff -u phpdoc/ja/functions/math.xml:1.15 phpdoc/ja/functions/math.xml:1.16 --- phpdoc/ja/functions/math.xml:1.15 Thu Jan 4 22:29:04 2001 +++ phpdoc/ja/functions/math.xml Sun Jan 7 17:39:30 2001 @@ -1019,7 +1019,9 @@ </funcprototype> </funcsynopsis> <para> - <parameter>val</parameter>ãæ´æ°å¤ã«ä¸¸ããå¤ãè¿ãã¾ãã + <parameter>val</parameter>ãæå®ãã + <parameter>precision</parameter>(å°æ°ç¹ä»¥ä¸ã®æ¡æ°)ã«ä¸¸ããå¤ãè¿ + ãã¾ãã <informalexample> <programlisting role="php"> $foo = round( 3.4 ); // $foo == 3.0 Index: phpdoc/ja/functions/mcal.xml diff -u phpdoc/ja/functions/mcal.xml:1.10 phpdoc/ja/functions/mcal.xml:1.11 --- phpdoc/ja/functions/mcal.xml:1.10 Thu Jan 4 22:29:04 2001 +++ phpdoc/ja/functions/mcal.xml Sun Jan 7 17:39:30 2001 @@ -177,6 +177,69 @@ </refsect1> </refentry> + <refentry id="function.mcal-create-calendar"> + <refnamediv> + <refname>mcal_create_calendar</refname> + <refpurpose>æ°è¦ã«MCALã«ã¬ã³ãã使ãã</refpurpose> + </refnamediv> + <refsect1> + <title>説æ</title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>mcal_create_calendar</function></funcdef> + <paramdef>int <parameter>stream</parameter></paramdef> + <paramdef>string <parameter>calendar</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + <parameter>calendar</parameter> ã¨ããååã§æ°è¦ã®ã«ã¬ã³ãã使 + ãã¾ãã + </para> + </refsect1> + </refentry> + + <refentry id="function.mcal-rename-calendar"> + <refnamediv> + <refname>mcal_rename_calendar</refname> + <refpurpose>MCALã«ã¬ã³ãã®ååã夿´ãã</refpurpose> + </refnamediv> + <refsect1> + <title>説æ</title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>mcal_rename_calendar</function></funcdef> + <paramdef>int <parameter>stream</parameter></paramdef> + <paramdef>string <parameter>old_name</parameter></paramdef> + <paramdef>string <parameter>new_name</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + ã«ã¬ã³ãå <parameter>old_name</parameter> ã + <parameter>new_name</parameter> ã«å¤æ´ãã¾ãã + </para> + </refsect1> + </refentry> + + <refentry id="function.mcal-delete-calendar"> + <refnamediv> + <refname>mcal_delete_calendar</refname> + <refpurpose>MCALã«ã¬ã³ããåé¤ãã</refpurpose> + </refnamediv> + <refsect1> + <title>説æ</title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>mcal_delete_calendar</function></funcdef> + <paramdef>int <parameter>stream</parameter></paramdef> + <paramdef>string <parameter>calendar</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + <parameter>calendar</parameter>ã¨ããååã®ã«ã¬ã³ããåé¤ãã¾ãã + </para> + </refsect1> + </refentry> + <refentry id="function.mcal-fetch-event"> <refnamediv> <refname>mcal_fetch_event</refname> @@ -1165,42 +1228,90 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int + <funcdef>object <function>mcal_fetch_current_stream_event</function> </funcdef> <paramdef>int <parameter>stream</parameter></paramdef> </funcprototype> </funcsynopsis> <para> - <function>mcal_event_fetch_current_stream_event</function> - ã¯ã次ã®è¦ç´ ãæããç¾å¨ã®ã¤ãã³ãæ§é¤Ýã¹ããªã¼ã ãæãã - ãªãã¸ã§ã¯ããè¿ãã¾ãã - + <function>mcal_fetch_current_stream_event</function> + ã¯ã次ã®è¦ç´ ãæããç¾å¨ã®ã¤ãã³ãæ§é ã¹ããªã¼ã ãæãã + ãªãã¸ã§ã¯ããè¿ãã¾ãã + <itemizedlist> - <listitem><simpara> - int id - ã¤ãã³ãã ID</simpara></listitem> - <listitem><simpara> - int public - ã¤ãã³ãã public ã®å ´åã« TRUEãprivate ã®å ´åã« FALSEã</simpara></listitem> - <listitem><simpara> - string category - ã¤ãã³ãã® Category æååã</simpara></listitem> - <listitem><simpara> - string title - ã¤ãã³ãã® Title æååã</simpara></listitem> - <listitem><simpara> - string description - ã¤ãã³ãã® Description æååã</simpara></listitem> - <listitem><simpara> - int alarm - ã¢ã©ã¼ã ã»ãªãã¤ã³ããéãã¤ãã³ãã¾ã§ã®ååä½ã®æéã</simpara></listitem> - <listitem><simpara> - object start - éå§ datetime ã¨ã³ããªãæãããªãã¸ã§ã¯ãã</simpara></listitem> - <listitem><simpara> - object end - çµäº datetime ã¨ã³ããªãæãããªãã¸ã§ã¯ãã</simpara></listitem> - <listitem><simpara> - int recur_type - ç¹°ãè¿ãå</simpara></listitem> - <listitem><simpara> - int recur_interval - ç¹°ãè¿ãéé</simpara></listitem> - <listitem><simpara> - datetime recur_enddate - ç¹°ãè¿ãçµäºæ¥</simpara></listitem> - <listitem><simpara> - int recur_data - ç¹°ãè¿ããã¼ã¿</simpara></listitem> + <listitem> + <simpara> + int id + - ã¤ãã³ãID + </simpara> + </listitem> + <listitem> + <simpara> + int public + - ã¤ãã³ãã public ã®å ´åã« TRUEãprivate ã®å ´åã« FALSEã + </simpara> + </listitem> + <listitem> + <simpara> + string category + - ã¤ãã³ãã® Category æååã + </simpara> + </listitem> + <listitem> + <simpara> + string title + - ã¤ãã³ãã® Title æååã + </simpara> + </listitem> + <listitem> + <simpara> + string description + - ã¤ãã³ãã® Description æååã + </simpara> + </listitem> + <listitem> + <simpara> + int alarm + - ã¢ã©ã¼ã ã»ãªãã¤ã³ããéãã¤ãã³ãã¾ã§ã®ååä½ã®æéã + </simpara> + </listitem> + <listitem> + <simpara> + object start + - éå§ datetime ã¨ã³ããªãæãããªãã¸ã§ã¯ãã + </simpara> + </listitem> + <listitem> + <simpara> + object end + - çµäº datetime ã¨ã³ããªãæãããªãã¸ã§ã¯ãã + </simpara> + </listitem> + <listitem> + <simpara> + int recur_type + - ç¹°ãè¿ãå + </simpara> + </listitem> + <listitem> + <simpara> + int recur_interval + - ç¹°ãè¿ãéé + </simpara> + </listitem> + <listitem> + <simpara> + datetime recur_enddate + - ç¹°ãè¿ãçµäºæ¥ + </simpara> + </listitem> + <listitem> + <simpara> + int recur_data + - ç¹°ãè¿ããã¼ã¿ + </simpara> + </listitem> </itemizedlist> å ¨ã¦ã® datetime ã¨ã³ããªã¯ã次ã®è¦ç´ ãæãããªãã¸ã§ã¯ããã
Index: phpdoc/en/functions/image.xml diff -u phpdoc/en/functions/image.xml:1.31 phpdoc/en/functions/image.xml:1.32 --- phpdoc/en/functions/image.xml:1.31 Sun Jan 7 14:42:43 2001 +++ phpdoc/en/functions/image.xml Sun Jan 7 17:39:29 2001 @@ -1302,7 +1302,7 @@ </note> </para> <para> - See also <function>ImagePNG</function, <function>ImageGIF</function>, + See also <function>ImagePNG</function>, <function>ImageGIF</function>, <function>ImageJPEG</function>, <function>ImageTypes</function>. </para> </refsect1> Index: phpdoc/ja/functions/image.xml diff -u phpdoc/ja/functions/image.xml:1.19 phpdoc/ja/functions/image.xml:1.20 --- phpdoc/ja/functions/image.xml:1.19 Thu Jan 4 22:29:04 2001 +++ phpdoc/ja/functions/image.xml Sun Jan 7 17:39:30 2001 @@ -788,6 +788,77 @@ </refsect1> </refentry> + <refentry id="function.imagecreatefromwbmp"> + <refnamediv> + <refname>ImageCreateFromWBMP</refname> + <refpurpose> + ãã¡ã¤ã«ã¾ãã¯URLããæ°è¦ã¤ã¡ã¼ã¸ãWindowsããããããå½¢å¼ã®ã¤ã¡ã¼ + ã¸ã使ãã + </refpurpose> + </refnamediv> + <refsect1> + <title>説æ</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>imagecreatefromwbmp</function></funcdef> + <paramdef>string <parameter>filename</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + <function>ImageCreateFromWBMP</function> ã¯ãæå®ãããã¡ã¤ã«åã + ãå¾ãããã¤ã¡ã¼ã¸ã表ãã¤ã¡ã¼ã¸IDãè¿ãã¾ãã + </para> + <para> + <function>ImageCreateFromWBMP</function> ã¯ãã¨ã©ã¼æã«ç©ºã®æåå + ãè¿ãã¾ããã¨ã©ã¼ã¡ãã»ã¼ã¸ãåºåãã¾ãããä¸å¹¸ã«ãã¦ãã©ã¦ã¶ã« + å£ãããªã³ã¯ã¨ãã¦è¡¨ç¤ºããã¦ãã¾ãã¾ãããããã°ã容æã«ãããã + ã«æ¬¡ã®ä¾ã§ã¯ã¨ã©ã¼ã表示ãã <acronym>WBMP</acronym> ã使ãã¦ã + ã¾ãã + <example> + <title> + 使æã®ã¨ã©ã¼ãå¦çããä¾ (vic@zymsys.com ã«ãã) + </title> + <programlisting role="php"> +function LoadWBMP ($imgname) { + $im = @ImageCreateFromWBMP ($imgname); /* ãªã¼ãã³ãã */ + if (!$im) { /* 失æãããã©ããå¤å® */ + $im = ImageCreate (20, 20); /* 空ã®ã¤ã¡ã¼ã¸ã使ãã */ + $bgc = ImageColorAllocate ($im, 255, 255, 255); + $tc = ImageColorAllocate ($im, 0, 0, 0); + ImageFilledRectangle ($im, 0, 0, 10, 10, $bgc); + /* errmsg ãåºåãã */ + ImageString ($im, 1, 5, 5, "Error loading $imgname", $tc); + } + return $im; +} + </programlisting> + </example> + </para> + </refsect1> + </refentry> + + <refentry id="function.imagecreatefromstring"> + <refnamediv> + <refname>ImageCreateFromString</refname> + <refpurpose> + æååã®ä¸ã®ã¤ã¡ã¼ã¸ã¹ããªã¼ã ããæ°è¦ã¤ã¡ã¼ã¸ã使ãã + </refpurpose> + </refnamediv> + <refsect1> + <title>説æ</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>imagecreatefromstring</function></funcdef> + <paramdef>string <parameter>image</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + <function>ImageCreateFromString</function> ã¯ãæå®ããæååãã + å¾ãããã¤ã¡ã¼ã¸ã表ãã¤ã¡ã¼ã¸IDãè¿ãã¾ãã + </para> + </refsect1> + </refentry> + <refentry id="function.imagedashedline"> <refnamediv> <refname>ImageDashedLine</refname> @@ -1034,25 +1105,30 @@ 以ä¸ã®çãã³ã¼ãã«ããå©ç¨å¯è½ãªGDãµãã¼ãã®åãèªåæ¤åºãã æ±ç¨æ§ã®ããPHPã¢ããªã±ã¼ã·ã§ã³ãæ¸ããã¨ãå¯è½ã§ãã <literal>Header("Content-type: - image/gif");ImageGif($im);</literal>ã®é¨åããã®ããæè»æ§ã®ã + image/gif");ImageGIF($im);</literal>ã®é¨åããã®ããæè»æ§ã®ã ãã³ã¼ãã«ç½®æãã¦ä¸ããã <informalexample> <programlisting role="php"> <?php if (function_exists("imagegif")) { Header("Content-type: image/gif"); - ImageGif($im); + ImageGIF($im); } elseif (function_exists("imageJpeg")) { Header("Content-type: image/jpeg"); - ImageJpeg($im, "", 0.5); + ImageJPEG($im, "", 0.5); } elseif (function_exists("imagePng")) { Header("Content-type: image/png"); - ImagePng($im); + ImagePNG($im); + } + elseif (function_exists("imagewbmp")) { + Header("Content-type: image/vnd.wap.wbmp"); + ImageWBMP($im); } - else + else { die("ãã®PHPãµã¼ãã¼ã§ã¯ã¤ã¡ã¼ã¸ã¯ãµãã¼ãããã¦ãã¾ãã"); + } ?> </programlisting> </informalexample> @@ -1078,15 +1154,16 @@ </note> </para> <para> - <function>ImagePng</function>, <function>ImageJpeg</function>, - <function>ImageTypes</function> ãåç §ä¸ããã + <function>ImagePNG</function>, <function>ImageWBMP</function>, + <function>ImageJPEG</function>, <function>ImageTypes</function> + ãåç §ä¸ããã </para> </refsect1> </refentry> <refentry id="function.imagepng"> <refnamediv> - <refname>ImagePng</refname> + <refname>ImagePNG</refname> <refpurpose> PNGã¤ã¡ã¼ã¸ããã©ã¦ã¶ã¾ãã¯ãã¡ã¤ã«ã«åºåãã </refpurpose> @@ -1107,7 +1184,7 @@ </funcprototype> </funcsynopsis> <para> - <function>ImagePng</function>ã¯ãGDã¤ã¡ã¼ã¸ã¹ããªã¼ã + <function>ImagePNG</function>ã¯ãGDã¤ã¡ã¼ã¸ã¹ããªã¼ã (<parameter>im</parameter>)ãPNGãã©ã¼ãããã§æ¨æºåºå(é常ã¯ãã© ã¦ã¶)ã«åºåãã¾ãã<parameter>filename</parameter>ãæå®ããå ´å ã¯ãã®ãã¡ã¤ã«ã«ã¤ã¡ã¼ã¸ãåºåãã¾ãã @@ -1119,8 +1196,9 @@ </informalexample> </para> <para> - <function>ImageGif</function>, <function>ImageJpeg</function>, - <function>ImageTypes</function> ãåç §ä¸ããã + <function>ImageGIF</function>, <function>ImageWBMP</function>, + <function>ImageJPEG</function>, <function>ImageTypes</function> + ãåç §ä¸ããã </para> </refsect1> </refentry> @@ -1169,11 +1247,58 @@ </note> </para> <para> - <function>ImagePng</function>, <function>ImageGif</function>, - <function>ImageTypes</function> ãåç §ä¸ããã + <function>ImagePNG</function>, <function>ImageGIF</function>, + <function>ImageWBMP</function>, <function>ImageTypes</function> + ãåç §ä¸ããã </para> </refsect1> </refentry> + + <refentry id="function.imagewbmp"> + <refnamediv> + <refname>ImageWBMP</refname> + <refpurpose>ãã©ã¦ã¶ã¾ãã¯ãã¡ã¤ã«ã«ã¤ã¡ã¼ã¸ãåºåãã</refpurpose> + </refnamediv> + <refsect1> + <title>説æ</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>imageWBMP</function></funcdef> + <paramdef>int <parameter>im</parameter></paramdef> + <paramdef>string + <parameter> + <replaceable><optional>filename</optional></replaceable> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <function>ImageWBMP</function> ã¯ãã¤ã¡ã¼ã¸ + <parameter>im</parameter>ãã filename ã« + <acronym>WBMP</acronym> ãã¡ã¤ã«ã使ãã¾ãã弿° + <parameter>im</parameter> ã¯ã<function>ImageCreate</function> é¢ + æ°ã®è¿ãå¤ã§ãã + </para> + <para> + 弿° filename ã¯ãªãã·ã§ã³ã§ãããçç¥ãããå ´åã«ã¯ãã¤ã¡ã¼ã¸ã¹ + ããªã¼ã ããã®ã¾ã¾ç´æ¥åºåããã¾ãã<function>header</function> + 颿°ã«ãããcontent-type <acronym>image/vnd.wap.wbmp</acronym> ã + éä¿¡ãããã¨ã«ãããWBMPã¤ã¡ã¼ã¸ãç´æ¥åºåããPHPã¹ã¯ãªããã使 + ãããã¨ãå¯è½ã§ãã + <note> + <para> + WBMP ãµãã¼ãã¯ãPHPãGD-1.8以éã¨çµã¿åããã¦ã³ã³ãã¤ã«ããå ´ + åã«ã®ã¿å©ç¨å¯è½ã§ãã + </para> + </note> + </para> + <para> + <function>ImagePNG</function>, <function>ImageGIF</function>, + <function>ImageJPEG</function>, <function>ImageTypes</function> + ãåç §ä¸ããã + </para> + </refsect1> + </refentry> <refentry id="function.imageinterlace"> <refnamediv> Index: phpdoc/ja/functions/math.xml diff -u phpdoc/ja/functions/math.xml:1.15 phpdoc/ja/functions/math.xml:1.16 --- phpdoc/ja/functions/math.xml:1.15 Thu Jan 4 22:29:04 2001 +++ phpdoc/ja/functions/math.xml Sun Jan 7 17:39:30 2001 @@ -1019,7 +1019,9 @@ </funcprototype> </funcsynopsis> <para> - <parameter>val</parameter>ãæ´æ°å¤ã«ä¸¸ããå¤ãè¿ãã¾ãã + <parameter>val</parameter>ãæå®ãã + <parameter>precision</parameter>(å°æ°ç¹ä»¥ä¸ã®æ¡æ°)ã«ä¸¸ããå¤ãè¿ + ãã¾ãã <informalexample> <programlisting role="php"> $foo = round( 3.4 ); // $foo == 3.0 Index: phpdoc/ja/functions/mcal.xml diff -u phpdoc/ja/functions/mcal.xml:1.10 phpdoc/ja/functions/mcal.xml:1.11 --- phpdoc/ja/functions/mcal.xml:1.10 Thu Jan 4 22:29:04 2001 +++ phpdoc/ja/functions/mcal.xml Sun Jan 7 17:39:30 2001 @@ -177,6 +177,69 @@ </refsect1> </refentry> + <refentry id="function.mcal-create-calendar"> + <refnamediv> + <refname>mcal_create_calendar</refname> + <refpurpose>æ°è¦ã«MCALã«ã¬ã³ãã使ãã</refpurpose> + </refnamediv> + <refsect1> + <title>説æ</title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>mcal_create_calendar</function></funcdef> + <paramdef>int <parameter>stream</parameter></paramdef> + <paramdef>string <parameter>calendar</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + <parameter>calendar</parameter> ã¨ããååã§æ°è¦ã®ã«ã¬ã³ãã使 + ãã¾ãã + </para> + </refsect1> + </refentry> + + <refentry id="function.mcal-rename-calendar"> + <refnamediv> + <refname>mcal_rename_calendar</refname> + <refpurpose>MCALã«ã¬ã³ãã®ååã夿´ãã</refpurpose> + </refnamediv> + <refsect1> + <title>説æ</title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>mcal_rename_calendar</function></funcdef> + <paramdef>int <parameter>stream</parameter></paramdef> + <paramdef>string <parameter>old_name</parameter></paramdef> + <paramdef>string <parameter>new_name</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + ã«ã¬ã³ãå <parameter>old_name</parameter> ã + <parameter>new_name</parameter> ã«å¤æ´ãã¾ãã + </para> + </refsect1> + </refentry> + + <refentry id="function.mcal-delete-calendar"> + <refnamediv> + <refname>mcal_delete_calendar</refname> + <refpurpose>MCALã«ã¬ã³ããåé¤ãã</refpurpose> + </refnamediv> + <refsect1> + <title>説æ</title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>mcal_delete_calendar</function></funcdef> + <paramdef>int <parameter>stream</parameter></paramdef> + <paramdef>string <parameter>calendar</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + <parameter>calendar</parameter>ã¨ããååã®ã«ã¬ã³ããåé¤ãã¾ãã + </para> + </refsect1> + </refentry> + <refentry id="function.mcal-fetch-event"> <refnamediv> <refname>mcal_fetch_event</refname> @@ -1165,42 +1228,90 @@ <title>説æ</title> <funcsynopsis> <funcprototype> - <funcdef>int + <funcdef>object <function>mcal_fetch_current_stream_event</function> </funcdef> <paramdef>int <parameter>stream</parameter></paramdef> </funcprototype> </funcsynopsis> <para> - <function>mcal_event_fetch_current_stream_event</function> - ã¯ã次ã®è¦ç´ ãæããç¾å¨ã®ã¤ãã³ãæ§é¤Ýã¹ããªã¼ã ãæãã - ãªãã¸ã§ã¯ããè¿ãã¾ãã - + <function>mcal_fetch_current_stream_event</function> + ã¯ã次ã®è¦ç´ ãæããç¾å¨ã®ã¤ãã³ãæ§é ã¹ããªã¼ã ãæãã + ãªãã¸ã§ã¯ããè¿ãã¾ãã + <itemizedlist> - <listitem><simpara> - int id - ã¤ãã³ãã ID</simpara></listitem> - <listitem><simpara> - int public - ã¤ãã³ãã public ã®å ´åã« TRUEãprivate ã®å ´åã« FALSEã</simpara></listitem> - <listitem><simpara> - string category - ã¤ãã³ãã® Category æååã</simpara></listitem> - <listitem><simpara> - string title - ã¤ãã³ãã® Title æååã</simpara></listitem> - <listitem><simpara> - string description - ã¤ãã³ãã® Description æååã</simpara></listitem> - <listitem><simpara> - int alarm - ã¢ã©ã¼ã ã»ãªãã¤ã³ããéãã¤ãã³ãã¾ã§ã®ååä½ã®æéã</simpara></listitem> - <listitem><simpara> - object start - éå§ datetime ã¨ã³ããªãæãããªãã¸ã§ã¯ãã</simpara></listitem> - <listitem><simpara> - object end - çµäº datetime ã¨ã³ããªãæãããªãã¸ã§ã¯ãã</simpara></listitem> - <listitem><simpara> - int recur_type - ç¹°ãè¿ãå</simpara></listitem> - <listitem><simpara> - int recur_interval - ç¹°ãè¿ãéé</simpara></listitem> - <listitem><simpara> - datetime recur_enddate - ç¹°ãè¿ãçµäºæ¥</simpara></listitem> - <listitem><simpara> - int recur_data - ç¹°ãè¿ããã¼ã¿</simpara></listitem> + <listitem> + <simpara> + int id + - ã¤ãã³ãID + </simpara> + </listitem> + <listitem> + <simpara> + int public + - ã¤ãã³ãã public ã®å ´åã« TRUEãprivate ã®å ´åã« FALSEã + </simpara> + </listitem> + <listitem> + <simpara> + string category + - ã¤ãã³ãã® Category æååã + </simpara> + </listitem> + <listitem> + <simpara> + string title + - ã¤ãã³ãã® Title æååã + </simpara> + </listitem> + <listitem> + <simpara> + string description + - ã¤ãã³ãã® Description æååã + </simpara> + </listitem> + <listitem> + <simpara> + int alarm + - ã¢ã©ã¼ã ã»ãªãã¤ã³ããéãã¤ãã³ãã¾ã§ã®ååä½ã®æéã + </simpara> + </listitem> + <listitem> + <simpara> + object start + - éå§ datetime ã¨ã³ããªãæãããªãã¸ã§ã¯ãã + </simpara> + </listitem> + <listitem> + <simpara> + object end + - çµäº datetime ã¨ã³ããªãæãããªãã¸ã§ã¯ãã + </simpara> + </listitem> + <listitem> + <simpara> + int recur_type + - ç¹°ãè¿ãå + </simpara> + </listitem> + <listitem> + <simpara> + int recur_interval + - ç¹°ãè¿ãéé + </simpara> + </listitem> + <listitem> + <simpara> + datetime recur_enddate + - ç¹°ãè¿ãçµäºæ¥ + </simpara> + </listitem> + <listitem> + <simpara> + int recur_data + - ç¹°ãè¿ããã¼ã¿ + </simpara> + </listitem> </itemizedlist> å ¨ã¦ã® datetime ã¨ã³ããªã¯ã次ã®è¦ç´ ãæãããªãã¸ã§ã¯ããã