cvs: peardoc /en/package/mail/mail-mimedecode decode.xml
| From: | Martin Jansen | Date: | Sun, 22 Jun 2003 12:58:21 +0000 |
| Subject: | cvs: peardoc /en/package/mail/mail-mimedecode decode.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-979@lists.php.net to get a copy of this message | ||
mj Sun Jun 22 08:58:21 2003 EDT
Modified files:
/peardoc/en/package/mail/mail-mimedecode decode.xml
Log:
* Fixing some typos
* Adding URL to RFC 2047
* Rephrasing some passages
Index: peardoc/en/package/mail/mail-mimedecode/decode.xml
diff -u peardoc/en/package/mail/mail-mimedecode/decode.xml:1.4
peardoc/en/package/mail/mail-mimedecode/decode.xml:1.5
--- peardoc/en/package/mail/mail-mimedecode/decode.xml:1.4 Sun Jun 22 08:38:49 2003
+++ peardoc/en/package/mail/mail-mimedecode/decode.xml Sun Jun 22 08:58:21 2003
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<refentry id="package.mail.mail-mimedecode.decode">
<refnamediv>
<refname>Mail_mimeDecode::decode()</refname>
@@ -81,20 +81,20 @@
<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>Recieved:</parameter> )
+ 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, then
- the headers will be decoded (RFC2047).
+ 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
+ Eg. if the content type is
<parameter>multipart/mixed</parameter>, ctype_primary would
be <parameter>"multipart"</parameter>.
</para>
@@ -122,7 +122,7 @@
<listitem>
<para>
<parameter>string $return->disposition</parameter> -
- if the Content-Disposition header is present, it's value
+ if the Content-Disposition header is present, its value
will be given here. This is usually either
<parameter>"inline"</parameter> or
<parameter>"attachment"</parameter>.
@@ -142,8 +142,9 @@
<para>
<parameter>array $return->body</parameter> -
if the <parameter>include_bodies</parameter> parameter is given
- when instanciating the class, (either statically or normally),
- then this will be present if the part in question has a body.
+ 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>