Class Zend_Mime_Decode

Description

Located in /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 method decodeQuotedPrintable (line 314)

decode a quoted printable encoded string

  • return: decoded string
  • access: public
static string decodeQuotedPrintable (mixed $string)
static method 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
static string|array splitContentType (mixed $type, [mixed $wantedPart = null])
static method splitHeaderField (line 286)

split a header field like content type in its different parts

  • return: wanted part or all parts
  • access: public
static string|array splitHeaderField (mixed $type, [mixed $wantedPart = null], mixed $firstName)
static method 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
static 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 method splitMessageStruct (line 186)

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

  • access: public
static array splitMessageStruct (string $message,  $boundary)
  • string $message
  • $boundary
static method 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
static array splitMime (string $body, string $boundary)
  • string $body
  • string $boundary

Documentation generated on Sun, 29 Oct 2006 21:27:54 -0600 by phpDocumentor 1.3.0RC6