Class Zend_Mime_Decode

Description

Located in /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 Fri, 30 Jun 2006 11:29:53 -0500 by phpDocumentor 1.3.0RC6