Class IMP_MIME_Viewer_alternative

Description

The IMP_MIME_Viewer_alternative class renders out messages from multipart/alternative content types (RFC 2046 [5.1.4]).

$Horde: imp/lib/MIME/Viewer/alternative.php,v 1.45.10.11 2009/01/06 15:24:09 jan Exp $

Copyright 2002-2009 The Horde Project (http://www.horde.org/)

See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.fsf.org/copyleft/gpl.html.

Located in /lib/MIME/Viewer/alternative.php (line 16)

MIME_Viewer
   |
   --IMP_MIME_Viewer_alternative
Variable Summary
 string $_contentType
Method Summary
 string getType ()
 string render (array $params)
Variables
string $_contentType = 'application/octet-stream' (line 24)

The content-type of the preferred part.

Default: application/octet-stream

Methods
getType (line 126)

Return the content-type.

  • return: The content-type of the message. Returns 'application/octet-stream' until actual content type of the message can be determined.
string getType ()
render (line 34)

Render out the currently set contents.

  • return: The rendered text in HTML.
string render (array $params)
  • array $params: An array with a reference to a MIME_Contents object.

Documentation generated on Sun, 30 Jan 2011 05:28:08 +0000 by phpDocumentor 1.4.3