svn: /phpdoc/en/trunk/reference/imap/functions/ imap-fetchstructure.xml
| From: | Christoph Michael Becker | Date: | Sat, 15 Aug 2015 17:32:54 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/imap/functions/ imap-fetchstructure.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13600@lists.php.net to get a copy of this message | ||
cmb Sat, 15 Aug 2015 17:32:54 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=337491
Log:
Add constants for types and encoding
--
Provided by anonymous 16911 (Krzysiek Łukasiak)
Changed paths:
U phpdoc/en/trunk/reference/imap/functions/imap-fetchstructure.xml
Modified: phpdoc/en/trunk/reference/imap/functions/imap-fetchstructure.xml
===================================================================
--- phpdoc/en/trunk/reference/imap/functions/imap-fetchstructure.xml 2015-08-15 17:31:10 UTC (rev
337490)
+++ phpdoc/en/trunk/reference/imap/functions/imap-fetchstructure.xml 2015-08-15 17:32:54 UTC (rev
337491)
@@ -140,32 +140,38 @@
</para>
<para>
<table>
- <title>Primary body type (may vary with used library)</title>
- <tgroup cols="2">
- <tbody>
- <row><entry>0</entry><entry>text</entry></row>
- <row><entry>1</entry><entry>multipart</entry></row>
- <row><entry>2</entry><entry>message</entry></row>
- <row><entry>3</entry><entry>application</entry></row>
- <row><entry>4</entry><entry>audio</entry></row>
- <row><entry>5</entry><entry>image</entry></row>
- <row><entry>6</entry><entry>video</entry></row>
- <row><entry>7</entry><entry>other</entry></row>
- </tbody>
- </tgroup>
+ <title>Primary body type (value may vary with used library, use of constants is
recommended)</title>
+ <tgroup cols="3">
+ <thead>
+
<row><entry>Value</entry><entry>Type</entry><entry>Constant</entry></row>
+ </thead>
+ <tbody>
+
<row><entry>0</entry><entry>text</entry><entry>TYPETEXT</entry></row>
+
<row><entry>1</entry><entry>multipart</entry><entry>TYPEMULTIPART</entry></row>
+
<row><entry>2</entry><entry>message</entry><entry>TYPEMESSAGE</entry></row>
+
<row><entry>3</entry><entry>application</entry><entry>TYPEAPPLICATION</entry></row>
+
<row><entry>4</entry><entry>audio</entry><entry>TYPEAUDIO</entry></row>
+
<row><entry>5</entry><entry>image</entry><entry>TYPEIMAGE</entry></row>
+
<row><entry>6</entry><entry>video</entry><entry>TYPEVIDEO</entry></row>
+
<row><entry>7</entry><entry>other</entry><entry>TYPEOTHER</entry></row>
+ </tbody>
+ </tgroup>
</table>
</para>
<para>
<table>
- <title>Transfer encodings (may vary with used library)</title>
- <tgroup cols="2">
- <tbody>
- <row><entry>0</entry><entry>7BIT</entry></row>
- <row><entry>1</entry><entry>8BIT</entry></row>
- <row><entry>2</entry><entry>BINARY</entry></row>
- <row><entry>3</entry><entry>BASE64</entry></row>
-
<row><entry>4</entry><entry>QUOTED-PRINTABLE</entry></row>
- <row><entry>5</entry><entry>OTHER</entry></row>
+ <title>Transfer encodings (value may vary with used library, use of constants is
recommended)</title>
+ <tgroup cols="3">
+ <thead>
+
<row><entry>Value</entry><entry>Type</entry><entry>Constant</entry></row>
+ </thead>
+ <tbody>
+
<row><entry>0</entry><entry>7bit</entry><entry>ENC7BIT</entry></row>
+
<row><entry>1</entry><entry>8bit</entry><entry>ENC8BIT</entry></row>
+
<row><entry>2</entry><entry>Binary</entry><entry>ENCBINARY</entry></row>
+
<row><entry>3</entry><entry>Base64</entry><entry>ENCBASE64</entry></row>
+
<row><entry>4</entry><entry>Quoted-Printable</entry><entry>ENCQUOTEDPRINTABLE</entry></row>
+
<row><entry>5</entry><entry>other</entry><entry>ENCOTHER</entry></row>
</tbody>
</tgroup>
</table>