cvs: peardoc /en/package/mail/mail-mimedecode decode.xml

From: Date: Sun, 22 Jun 2003 12:38:49 +0000
Subject: cvs: peardoc /en/package/mail/mail-mimedecode decode.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-977@lists.php.net to get a copy of this message
mj Sun Jun 22 08:38:49 2003 EDT Modified files: /peardoc/en/package/mail/mail-mimedecode decode.xml Log: * Mail_mimeDecode::decode() returns a object * Remove duplicate paragraph Index: peardoc/en/package/mail/mail-mimedecode/decode.xml diff -u peardoc/en/package/mail/mail-mimedecode/decode.xml:1.3 peardoc/en/package/mail/mail-mimedecode/decode.xml:1.4 --- peardoc/en/package/mail/mail-mimedecode/decode.xml:1.3 Fri Jun 20 01:19:08 2003 +++ peardoc/en/package/mail/mail-mimedecode/decode.xml Sun Jun 22 08:38:49 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="package.mail.mail-mimedecode.decode"> <refnamediv> <refname>Mail_mimeDecode::decode()</refname> @@ -10,7 +10,7 @@ require_once 'Mail/mimeDecode.php'; </funcsynopsisinfo> <funcprototype> - <funcdef>array <function>decode</function></funcdef> + <funcdef>object <function>decode</function></funcdef> <paramdef>array <parameter> <optional>$args = &null;</optional></parameter></paramdef> </funcprototype> @@ -74,11 +74,11 @@ <refsect1 id="package.mail.mail-mimedecode.decode.return"> &title.returns; <para> - <parameter>array</parameter> - + <parameter>object</parameter> - <itemizedlist> <listitem> <para> - <parameter>array $return['headers']</parameter> - + <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 @@ -92,7 +92,7 @@ </listitem> <listitem> <para> - <parameter>string $return['ctype_primary']</parameter> - + <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 @@ -101,7 +101,7 @@ </listitem> <listitem> <para> - <parameter>string $return['ctype_secondary']</parameter> - + <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>. @@ -109,7 +109,7 @@ </listitem> <listitem> <para> - <parameter>array $return['ctype_parameter']</parameter> - + <parameter>array $return->ctype_parameter</parameter> - if the content type header has any parameters (eg. <parameter>boundary="=_hudfhdsalfhds8fy8329hfj</parameter>") then @@ -121,7 +121,7 @@ </listitem> <listitem> <para> - <parameter>string $return['disposition']</parameter> - + <parameter>string $return->disposition</parameter> - if the Content-Disposition header is present, it's value will be given here. This is usually either <parameter>"inline"</parameter> or @@ -130,7 +130,7 @@ </listitem> <listitem> <para> - <parameter>array $return['d_parameters']</parameter> - + <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. @@ -140,17 +140,7 @@ </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> - + <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. @@ -163,7 +153,7 @@ </listitem> <listitem> <para> - <parameter>array $return['parts']</parameter> - + <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.

« previous php.pear.doc (#977) next »