cvs: peardoc /ja/package/mail/mail-mimedecode decode.xml /ja/package/mail/mail-mimepart encode.xml
| From: | Tadashi Jokagi | Date: | Sun, 09 Nov 2003 10:44:54 +0000 |
| Subject: | cvs: peardoc /ja/package/mail/mail-mimedecode decode.xml /ja/package/mail/mail-mimepart encode.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-1908@lists.php.net to get a copy of this message | ||
elf Sun Nov 9 05:44:54 2003 EDT
Added files:
/peardoc/ja/package/mail/mail-mimedecode decode.xml
/peardoc/ja/package/mail/mail-mimepart encode.xml
Log:
o added japanese manual.
Index: peardoc/ja/package/mail/mail-mimedecode/decode.xml +++ peardoc/ja/package/mail/mail-mimedecode/decode.xml <!-- $Revision: 1.1 $ --> <!-- Sync: 1.6 --> <refentry id="package.mail.mail-mimedecode.decode"> <refnamediv> <refname>Mail_mimeDecode::decode()</refname> <refpurpose>ãã³ã¼ããå®è¡ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Mail/mimeDecode.php'; </funcsynopsisinfo> <funcprototype> <funcdef>object <function>decode</function></funcdef> <paramdef>array <parameter> <optional>$args = &null;</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.mail.mail-mimedecode.decode.desc"> &title.desc; <para> ãã®é¢æ°ã¯ã ã¡ãã»ã¼ã¸ãã¼ã¿ã®æ§é å 容ã®ãã³ã¼ããå®è¡ãçµæãè¿ãã¾ãã </para> </refsect1> <refsect1 id="package.mail.mail-mimedecode.decode.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>array $args</parameter> - 颿°ã®å¼æ°é åã§ãã <itemizedlist> <listitem> <para> <parameter>boolean $args['include_bodies']</parameter> - è¿ãããæ§é ã«ã¡ã¼ã«æ¬ä½ãå«ããã©ãããæå®ãã¾ãã </para> </listitem> <listitem> <para> <parameter>boolean $args['decode_bodies']</parameter> - è¿ãããæ§é ã®ã¡ã¼ã«æ¬ä½ããã³ã¼ããããã©ãããæå®ãã¾ãã </para> </listitem> <listitem> <para> <parameter>boolean $args['decode_headers']</parameter> - ãããã®ãã³ã¼ãããããã©ãããæå®ãã¾ãã (<ulink url="&url.rfc;2047">RFC2047</ulink>). </para> </listitem> <listitem> <para> <parameter>string $args['input']</parameter> - ããéçã«å¼ã°ããå ´åã ãã³ã¼ããã¹ããã¼ã¿ã®å ¥åãæå®ãã¾ãã </para> </listitem> <listitem> <para> <parameter>string $args['crlf']</parameter> - ããéçã«å¼ã°ããå ´åã è¡æ«ã«ä½¿ç¨ããæåã¿ã¤ããæå®ãã¾ãã </para> </listitem> </itemizedlist> </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.mail.mail-mimedecode.decode.return"> &title.returns; <para> <parameter>object</parameter> - <itemizedlist> <listitem> <para> <parameter>array $return->headers</parameter> - an associative array of the headers. The keys of the array are the header names (lowercased) whilst the values are the header values (original case). If there are multiple headers with the same name (eg. <parameter>Received:</parameter> ) then the value is a numerically indexed array of each of the header values. If the parameter <parameter>decode_headers</parameter> is specified as &true;, the headers will be decoded according to <ulink url="&url.rfc;2047">RFC 2047</ulink>. </para> </listitem> <listitem> <para> <parameter>string $return->ctype_primary</parameter> - the first part of the content type (ie. before the forward slash). Eg. if the content type is <parameter>multipart/mixed</parameter>, ctype_primary would be <parameter>"multipart"</parameter>. </para> </listitem> <listitem> <para> <parameter>string $return->ctype_secondary</parameter> - the second part of the content type. Eg. If the content type is <parameter>multipart/mixed</parameter>, ctype_secondary would be <parameter>"mixed"</parameter>. </para> </listitem> <listitem> <para> <parameter>array $return->ctype_parameter</parameter> - if the content type header has any parameters (eg. <parameter>boundary="=_hudfhdsalfhds8fy8329hfj</parameter>") then they will be in this associative array. Keys are the parameter name (eg. <parameter>boundary</parameter>) whilst the values are the parameter values (eg. =<parameter>_hudfhdsalfhds8fy8329hfj</parameter>). </para> </listitem> <listitem> <para> <parameter>string $return->disposition</parameter> - if the Content-Disposition header is present, its value will be given here. This is usually either <parameter>"inline"</parameter> or <parameter>"attachment"</parameter>. </para> </listitem> <listitem> <para> <parameter>array $return->d_parameters</parameter> - if any parameters are given with the Content-Disposition header, they will be given here in an associative array, keys being the parameter names and values being the parameter values. <parameter>"name"</parameter> and <parameter>"filename"</parameter> are two common examples here. </para> </listitem> <listitem> <para> <parameter>array $return->body</parameter> - if the <parameter>include_bodies</parameter> parameter is given when instanciating the class, (either statically or via a concrete instance), then this will be present if the part in question has a body. MIME parts with content type <parameter>multipart/*</parameter> generally do not not have bodies, instead consisting of subparts. If the parameter <parameter>decode_bodies</parameter> is specified as &true; then the body will be decoded. </para> </listitem> <listitem> <para> <parameter>array $return->parts</parameter> - if a MIME part consists of subparts, then this array will be present consisting of objects with the same properties as described here. </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.mail.mail-mimedecode.decode.throws"> &title.throws; <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="4"> <thead> <row> <entry>ã¨ã©ã¼ã³ã¼ã</entry> <entry>ã¨ã©ã¼ã¡ãã»ã¼ã¸</entry> <entry>æå³</entry> <entry>解決ç</entry> </row> </thead> <tbody> <row> <entry>&null;</entry> <entry> <quote> Called statically and no input given </quote> </entry> <entry> You called the function statically and forgot to fill <parameter>$args['input']</parameter> </entry> <entry> ç·ã¦ã®<parameter>$args['input']</parameter>ãåãããã éçã«ãã®é¢æ°ãå¼ã°ãªãã§ãã ããã </entry> </row> <row> <entry>&null;</entry> <entry> ãã®ä» </entry> <entry> ã¨ã©ã¼ã¡ãã»ã¼ã¸ãè¦ã¦ãã ããã </entry> <entry> å ¥åãããã¡ãã»ã¼ã¸ã ã¾ãã¯ã¡ãã»ã¼ã¸ãã¼ããMIMEæ¨æºã«æºãã¦ãã¾ããã </entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.mail.mail-mimedecode.decode.note"> &title.note; ¬e.canstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> Index: peardoc/ja/package/mail/mail-mimepart/encode.xml +++ peardoc/ja/package/mail/mail-mimepart/encode.xml <!-- $Revision: 1.1 $ --> <!-- Sync: 1.1 --> <refentry id="package.mail.mail-mimepart.encode"> <refnamediv> <refname>Mail_mimePart::encode()</refname> <refpurpose>ã¡ã¼ã«ãã¨ã³ã³ã¼ããã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Mail/mimePart.php'; </funcsynopsisinfo> <funcprototype> <funcdef>array <function>encode</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.mail.mail-mimepart.encode.desc"> &title.desc; <para> ã¡ã¼ã«ãã¨ã³ã³ã¼ãããã¨ã³ã³ã¼ãçµæãè¿ãã¾ãã </para> </refsect1> <refsect1 id="package.mail.mail-mimepart.encode.return"> &title.returns; <para> <parameter>array</parameter> - ã¡ã¼ã«æ¬ä½ããã³ãããã®äºã¤ã®è¦ç´ ãå«ã飿³é åãè¿ãã¾ãã ãããè¦ç´ ã¯ããèªä½ã¤ã³ããã¯ã¹ãä»ããããé åã«ãªãã¾ãã </para> <para> ä¸è¨ããã¼åã§ãã <simplelist> <member> <parameter>'headers'</parameter> - ã¡ã¼ã«ãããã®é åã§ãã </member> <member> <parameter>'body'</parameter> - ã¡ã¼ã«æ¬ä½ã®æååã§ãã </member> </simplelist> </para> </refsect1> <refsect1 id="package.mail.mail-mimepart.encode.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
Index: peardoc/ja/package/mail/mail-mimedecode/decode.xml +++ peardoc/ja/package/mail/mail-mimedecode/decode.xml <!-- $Revision: 1.1 $ --> <!-- Sync: 1.6 --> <refentry id="package.mail.mail-mimedecode.decode"> <refnamediv> <refname>Mail_mimeDecode::decode()</refname> <refpurpose>ãã³ã¼ããå®è¡ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Mail/mimeDecode.php'; </funcsynopsisinfo> <funcprototype> <funcdef>object <function>decode</function></funcdef> <paramdef>array <parameter> <optional>$args = &null;</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.mail.mail-mimedecode.decode.desc"> &title.desc; <para> ãã®é¢æ°ã¯ã ã¡ãã»ã¼ã¸ãã¼ã¿ã®æ§é å 容ã®ãã³ã¼ããå®è¡ãçµæãè¿ãã¾ãã </para> </refsect1> <refsect1 id="package.mail.mail-mimedecode.decode.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>array $args</parameter> - 颿°ã®å¼æ°é åã§ãã <itemizedlist> <listitem> <para> <parameter>boolean $args['include_bodies']</parameter> - è¿ãããæ§é ã«ã¡ã¼ã«æ¬ä½ãå«ããã©ãããæå®ãã¾ãã </para> </listitem> <listitem> <para> <parameter>boolean $args['decode_bodies']</parameter> - è¿ãããæ§é ã®ã¡ã¼ã«æ¬ä½ããã³ã¼ããããã©ãããæå®ãã¾ãã </para> </listitem> <listitem> <para> <parameter>boolean $args['decode_headers']</parameter> - ãããã®ãã³ã¼ãããããã©ãããæå®ãã¾ãã (<ulink url="&url.rfc;2047">RFC2047</ulink>). </para> </listitem> <listitem> <para> <parameter>string $args['input']</parameter> - ããéçã«å¼ã°ããå ´åã ãã³ã¼ããã¹ããã¼ã¿ã®å ¥åãæå®ãã¾ãã </para> </listitem> <listitem> <para> <parameter>string $args['crlf']</parameter> - ããéçã«å¼ã°ããå ´åã è¡æ«ã«ä½¿ç¨ããæåã¿ã¤ããæå®ãã¾ãã </para> </listitem> </itemizedlist> </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.mail.mail-mimedecode.decode.return"> &title.returns; <para> <parameter>object</parameter> - <itemizedlist> <listitem> <para> <parameter>array $return->headers</parameter> - an associative array of the headers. The keys of the array are the header names (lowercased) whilst the values are the header values (original case). If there are multiple headers with the same name (eg. <parameter>Received:</parameter> ) then the value is a numerically indexed array of each of the header values. If the parameter <parameter>decode_headers</parameter> is specified as &true;, the headers will be decoded according to <ulink url="&url.rfc;2047">RFC 2047</ulink>. </para> </listitem> <listitem> <para> <parameter>string $return->ctype_primary</parameter> - the first part of the content type (ie. before the forward slash). Eg. if the content type is <parameter>multipart/mixed</parameter>, ctype_primary would be <parameter>"multipart"</parameter>. </para> </listitem> <listitem> <para> <parameter>string $return->ctype_secondary</parameter> - the second part of the content type. Eg. If the content type is <parameter>multipart/mixed</parameter>, ctype_secondary would be <parameter>"mixed"</parameter>. </para> </listitem> <listitem> <para> <parameter>array $return->ctype_parameter</parameter> - if the content type header has any parameters (eg. <parameter>boundary="=_hudfhdsalfhds8fy8329hfj</parameter>") then they will be in this associative array. Keys are the parameter name (eg. <parameter>boundary</parameter>) whilst the values are the parameter values (eg. =<parameter>_hudfhdsalfhds8fy8329hfj</parameter>). </para> </listitem> <listitem> <para> <parameter>string $return->disposition</parameter> - if the Content-Disposition header is present, its value will be given here. This is usually either <parameter>"inline"</parameter> or <parameter>"attachment"</parameter>. </para> </listitem> <listitem> <para> <parameter>array $return->d_parameters</parameter> - if any parameters are given with the Content-Disposition header, they will be given here in an associative array, keys being the parameter names and values being the parameter values. <parameter>"name"</parameter> and <parameter>"filename"</parameter> are two common examples here. </para> </listitem> <listitem> <para> <parameter>array $return->body</parameter> - if the <parameter>include_bodies</parameter> parameter is given when instanciating the class, (either statically or via a concrete instance), then this will be present if the part in question has a body. MIME parts with content type <parameter>multipart/*</parameter> generally do not not have bodies, instead consisting of subparts. If the parameter <parameter>decode_bodies</parameter> is specified as &true; then the body will be decoded. </para> </listitem> <listitem> <para> <parameter>array $return->parts</parameter> - if a MIME part consists of subparts, then this array will be present consisting of objects with the same properties as described here. </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.mail.mail-mimedecode.decode.throws"> &title.throws; <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="4"> <thead> <row> <entry>ã¨ã©ã¼ã³ã¼ã</entry> <entry>ã¨ã©ã¼ã¡ãã»ã¼ã¸</entry> <entry>æå³</entry> <entry>解決ç</entry> </row> </thead> <tbody> <row> <entry>&null;</entry> <entry> <quote> Called statically and no input given </quote> </entry> <entry> You called the function statically and forgot to fill <parameter>$args['input']</parameter> </entry> <entry> ç·ã¦ã®<parameter>$args['input']</parameter>ãåãããã éçã«ãã®é¢æ°ãå¼ã°ãªãã§ãã ããã </entry> </row> <row> <entry>&null;</entry> <entry> ãã®ä» </entry> <entry> ã¨ã©ã¼ã¡ãã»ã¼ã¸ãè¦ã¦ãã ããã </entry> <entry> å ¥åãããã¡ãã»ã¼ã¸ã ã¾ãã¯ã¡ãã»ã¼ã¸ãã¼ããMIMEæ¨æºã«æºãã¦ãã¾ããã </entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.mail.mail-mimedecode.decode.note"> &title.note; ¬e.canstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> Index: peardoc/ja/package/mail/mail-mimepart/encode.xml +++ peardoc/ja/package/mail/mail-mimepart/encode.xml <!-- $Revision: 1.1 $ --> <!-- Sync: 1.1 --> <refentry id="package.mail.mail-mimepart.encode"> <refnamediv> <refname>Mail_mimePart::encode()</refname> <refpurpose>ã¡ã¼ã«ãã¨ã³ã³ã¼ããã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Mail/mimePart.php'; </funcsynopsisinfo> <funcprototype> <funcdef>array <function>encode</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.mail.mail-mimepart.encode.desc"> &title.desc; <para> ã¡ã¼ã«ãã¨ã³ã³ã¼ãããã¨ã³ã³ã¼ãçµæãè¿ãã¾ãã </para> </refsect1> <refsect1 id="package.mail.mail-mimepart.encode.return"> &title.returns; <para> <parameter>array</parameter> - ã¡ã¼ã«æ¬ä½ããã³ãããã®äºã¤ã®è¦ç´ ãå«ã飿³é åãè¿ãã¾ãã ãããè¦ç´ ã¯ããèªä½ã¤ã³ããã¯ã¹ãä»ããããé åã«ãªãã¾ãã </para> <para> ä¸è¨ããã¼åã§ãã <simplelist> <member> <parameter>'headers'</parameter> - ã¡ã¼ã«ãããã®é åã§ãã </member> <member> <parameter>'body'</parameter> - ã¡ã¼ã«æ¬ä½ã®æååã§ãã </member> </simplelist> </para> </refsect1> <refsect1 id="package.mail.mail-mimepart.encode.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->