## Zend_Mime_Decode

Description

- license: Zend Framework License version 1.0
- copyright: Copyright (c) 2005-2006 Zend Technologies USA Inc. (http://www.zend.com)

Located in /library/Zend/Mime/Decode.php (line 30)

Method Summary
static string decodeQuotedPrintable (mixed $string)
static string|array splitContentType (mixed $type, [mixed $wantedPart = null])
static string|array splitHeaderField (mixed $type, [mixed $wantedPart = null], [mixed $firstName = 0])
static void splitMessage (string $message, &$headers, &$body, mixed $headers,, mixed $body,)
static array splitMessageStruct (string $message, $boundary)
static array splitMime (string $body, string $boundary)
Methods
static decodeQuotedPrintable (line 314)

decode a quoted printable encoded string

- return: decoded string
- access: public

string decodeQuotedPrintable (mixed $string)
static splitContentType (line 272)

split a content type in its different parts - maybe that could get a more generic name and code as many fields use this format

- return: wanted part or all parts
- access: public

string|array splitContentType (mixed $type, [mixed $wantedPart = null])
static splitHeaderField (line 286)

split a header field like content type in its different parts

- return: wanted part or all parts
- access: public

string|array splitHeaderField (mixed $type, [mixed $wantedPart = null], mixed $firstName)
static splitMessage (line 209)

split a message in header and body part, if no header or an invalid header is found $headers is empty

- access: public

void splitMessage (string $message, &$headers, &$body, mixed $headers,, mixed $body,)

- string $message
- mixed $headers,: output param, out type is array
- mixed $body,: output param, out type is string
- &$headers
- &$body

static splitMessageStruct (line 186)

decodes a mime encoded String and returns a struct of parts with header and body

- access: public

array splitMessageStruct (string $message, $boundary)

- string $message
- $boundary

static splitMime (line 144)

explode mime multipart string into seperate parts the parts consist of the header and the body of the mime part.

- access: public

array splitMime (string $body, string $boundary)

- string $body
- string $boundary

Documentation generated on Tue, 11 Jul 2006 12:24:17 -0500 by phpDocumentor 1.3.0RC6